To calculate the percent of Row Total we need to find out the percentage split of the column categories against the rows. In our example we need to find out the gender% split across the various departments.
Our Data Model contains three tables Department, Gender and Emp_data.

The dimension tables are Department and Gender. The fact table is the Emp_data table.
- The Department table has a list of all the available departments in our dataset
- The Gender table has a list of all the available gender categories in our dataset.
- The Emp_data table has details for all our active employees. We have details like the department, gender, grade, designation, joining date , country and many more data.
The Department table and the Gender table are connected to our Emp_Data table in a one to many relationship.
What is Percent of Row Total
The below table gives us the count of employees by department across gender.

E.g Department Customer Service
The female headcount is 930, the male headcount is 530 and the undisclosed headcount is 39.
For percent of row total we need to find out the % values of female, male and undisclosed for each department. The sum of all the values need to be 100%
Our result must be as under:

What the above tables states is that in Customer Service Female accounts for 62% employees, Male accounts for 35% employees and Undisclosed accounts for 3% employees. The Total is 100%
To achieve the below we need to calculate three measures
Calculate the headcount in our dataset. Create a new measure. Name it as Headcount .
![]()
Next we need to calculate the Row Total. So we will create a new measure. Name it as Row Total.
![]()
As we want the % across rows we need to remove the filters across the columns. In our example , the columns are gender.
Finally, we need to calculate the Percent of Row Total by dividing the headcount by the row total.
Create a new measure. Name it as Percent of Row Total.
Format it as %.
![]()
Add a matrix visual to your report.
In rows add Department (from the Department Table), in columns add Gender (from the Gender Table) and in values add Percent of Row Total.
The result you see in the matrix is the Percent of Row Total.

To view the video tutorial , refer below
