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.
I have 2 columns: Category and Escalated
The requirement is to calculate accuracy like the below excel calculation: That is Sum of Escalated when Category is Critical or High divided by Sum of Escalated.
How do I replicate this in PBI? Please help....
=(SUMIF(A2:B12,"High",B2:B12)+SUMIF(A2:B12,"Critical",B2:B12))/SUM(B2:B12)
Category | Escalated |
High | 1 |
Critical | 1 |
Low | 0 |
Moderate | 1 |
High | 1 |
Moderate | 0 |
Critical | 1 |
Critical | 1 |
Low | 0 |
High | 0 |
Moderate | 1 |
Solved! Go to Solution.
please try
=
DIVIDE (
CALCULATE (
SUM ( 'Table'[Escalated] ),
'Table'[Category] IN { "High", "Critical" }
),
SUM ( 'Table'[Escalated] )
)
please try
=
DIVIDE (
CALCULATE (
SUM ( 'Table'[Escalated] ),
'Table'[Category] IN { "High", "Critical" }
),
SUM ( 'Table'[Escalated] )
)
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 |
---|---|
47 | |
26 | |
19 | |
14 | |
10 |
User | Count |
---|---|
58 | |
50 | |
44 | |
19 | |
19 |