Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Dear
I have the following table (visual), I have data from the "Ranking, Total Events, No Count, and Yes Count" columns.
This data varies with date filtering.
I need to get the "Yes Percentage" column, as shown in the attached table, calculated as: " (Yes Account)*100/(No Account) .
In the "Total" row, I need you to enter the total percentage over total events, not the average of the percentages in the same column.
Please help with how to implement the solution.
Best regards
Classification | Total Events | Account No | Account Yes | Percentage Yes |
A | 3 | 1 | 2 | 67% |
B | 3 | 0 | 3 | 100% |
C | 16 | 1 | 15 | 94% |
D | 1 | 0 | 1 | 100% |
Total | 23 | 2 | 21 | 91% |
Solved! Go to Solution.
You can create a measure
Measure =
SUMX (
VALUES ( 'Table'[Classification] ),
DIVIDE ( SUM ( 'Table'[Account Yes] ), SUM ( 'Table'[Total Events] ) )
)
Output
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
You can create a measure
Measure =
SUMX (
VALUES ( 'Table'[Classification] ),
DIVIDE ( SUM ( 'Table'[Account Yes] ), SUM ( 'Table'[Total Events] ) )
)
Output
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Try this:
Dax:
User | Count |
---|---|
132 | |
74 | |
70 | |
58 | |
54 |
User | Count |
---|---|
192 | |
96 | |
67 | |
64 | |
54 |