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.
Hey guys,
I'm trying to calculate a measure but currently blocked...
Below is a sample of my data:
Step | Status |
One | Accepted |
Second | Refused |
Third | Withdrew |
Fourth | Refused |
Fourth | Refused |
Fourth | Withdrew |
Fourth | Refused |
Fourth | Accepted |
Third | Accepted |
Third | Refused |
Fourth | Refused |
One | Withdrew |
One | Accepted |
One | Refused |
One | Refused |
Third | Withdrew |
Third | Accepted |
Second | Withdrew |
Second | Accepted |
Second | Accepted |
I would like to calculate the following ratio:
What would be the appropriate formula to create this measure in Power BI?
Thanks for the tip
Hi @baptiste23 ,
Measure = CALCULATE(DIVIDE(COUNTROWS(FILTER('step-status', FIND("Withdrew", 'step-status'[Status],,0) && FIND("Third", 'step-status'[Step],,0))), COUNTROWS(FILTER('step-status', FIND("Third", 'step-status'[Step],,0) || FIND("Fourth", 'step-status'[Step],,0)))))
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 |
---|---|
105 | |
96 | |
75 | |
63 | |
62 |
User | Count |
---|---|
137 | |
105 | |
104 | |
80 | |
63 |