Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
What DAX would i use to calculate a percentage per row..
For example, the below screenshot, 4 in the first column/row, should say 30.77% (4/13).. and then the same for every number listed here with the 'assigned' column being the total to divide by. Ideally the % in the assigned column would all represent 100%. The 'not started', 'incomplete', and 'complete' should all total up to 100%.
Hi, @KWelsh8144 ;
Try it.
measure =
DIVIDE (
SUM ( [value] ),
CALCULATE (
SUM ( [value] ),
FILTER (
ALL ( 'table' ),
EOMONTH ( [date], 0 ) = EOMONTH ( MAX ( [date] ), 0 )
)
)
)
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
Solved: How to upload PBI in Community - Microsoft Power BI Community
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@KWelsh8144 Try right-clicking the measure in the field well and choose Show As and then Percent of total
When i do that (percent of row total), it all shows as 100% @Greg_Deckler
The calculated column that makes up 'not started' (just as one example) is
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
116 | |
102 | |
77 | |
77 | |
49 |
User | Count |
---|---|
145 | |
108 | |
107 | |
89 | |
61 |