Calculating a percentage of fields with multiple criteria means solving for the number of times certain conditions are met divided by the total number of rows in the table. This formula works for both Default and Prefilled tables.
Prerequisites
Before you begin make sure you have the following:
Plan: All Plan Types
Permission: Home Folder (Template Library) β Org Controller (or higher); Team Folder β Project Controller (or higher)
Skills Required: Dashpivot
Device Type: computer
Subscription: Dashpivot
Step-by-Step Instructions
Navigate to the left panel and choose either a Default or Prefilled table as your source table.
Add a Prefilled table to act as your summary table.
Change the display cell in the summary table to a Formula field.
Enter the following formula:
=COUNTIFS(Source_Table!Column:Column, Criteria_1, Source_Table!Column:Column, Criteria_2, Source_Table!Column:Column, Criteria_n)/Number*100
Replace:
Source_Table with your data table name.
Column with the column being evaluated.
Criteria_1, Criteria_2, Criteria_n with the required conditions.
Number with the total number of rows in the table.
If the total number of rows is unknown, use:
=COUNTIFS(Source_Table!Column:Column, Criteria_1, Source_Table!Column:Column, Criteria_2, Source_Table!Column:Column, Criteria_n)/COUNTA(Source_Table!Column:Column)*100
Since a Default table does not have a fixed number of rows, COUNTA() is used to dynamically count the total rows.
Example
You want to calculate the percentage of employees who:
Worked 8 or more hours
AND have their License Renewed = Yes
Assume:
Table1is your data tableColumn F = Hours Worked
Column G = License Renewed (Yes/No)
There are 10 total rows
Formula (Known Total Rows)
=COUNTIFS(Table1!F:F, ">=8", Table1!G:G, "Yes")/10*100
Formula (Unknown Total Rows β Recommended for Default Tables)
=COUNTIFS(Table1!F:F, ">=8", Table1!G:G, "Yes")/COUNTA(Table1!A:A)*100
This:
Counts rows where Hours Worked β₯ 8
AND License Renewed = Yes
Then divides by the total number of populated rows
Multiplies by 100 to return a percentage
