Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.
I am working an calculating the average for a set of rows based on a filter. The percentage 77.27 is incorrect since the average of the set would actually be 86.36.
Expected Percentage = 19/22 = .8636
Actual = .7727
[ROW_PERCENTAGE] is a measurement that take place on a row basis.
I am using this mea
Numerator_Measure = CALCULATE(SUMX(ALLSELECTED(TABLE),[ROW_PERCENTAGE]),TABLE[STAGE]=="STAGE 1")))
Denominator_Measure = CALCULATE(COUNTROWS(TABLE),FILTER(ALL(TABLE),TABLE[STAGE]=="STAGE 1")))
Stage_Percentage = DIVIDE(Numerator_Measure,Denominator_Measure)
My numerator measure must be incorrect.
I ended up scrapping the formula since it was no longer needed. Thank you everyone
Hi, @YIAX
I tried to restore some of the data to try your formula, but my measure are correct.
Can you provide more details about the data?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@YIAX Try this:
Numerator_Measure = SUMX( FILTER( ALLSELECTED(TABLE), [STAGE] == "STAGE 1" ),[ROW_PERCENTAGE])
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
16 | |
14 | |
13 | |
11 | |
10 |
User | Count |
---|---|
11 | |
10 | |
6 | |
6 | |
6 |