The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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:
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
119 | |
86 | |
75 | |
55 | |
44 |
User | Count |
---|---|
136 | |
128 | |
78 | |
64 | |
63 |