Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hey everyone,
I am very new to DAX functions and am having a hard time calulating a percentage. I would like to create a new column that contains the total percentage for a group of people.
To find the percentage I have to add the values from two columns together and divide by the values in a third column. I also need to total that percentage based on a group of people.
Thanks!
Solved! Go to Solution.
@Anonymous , It should work like
Divide(Sum(Table[Col1]) + Sum(Table[Col2]) , Sum(Table[Col3]) )
or
Divide(SumX(table, Table[Col1]+Table[Col2]) , Sum(Table[Col3]) )
@Anonymous , It should work like
Divide(Sum(Table[Col1]) + Sum(Table[Col2]) , Sum(Table[Col3]) )
or
Divide(SumX(table, Table[Col1]+Table[Col2]) , Sum(Table[Col3]) )
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 19 | |
| 13 | |
| 8 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 29 | |
| 21 | |
| 17 | |
| 11 | |
| 10 |