Forum Discussion
keep the upper quartile constant
All,
I ahve a table thus...
the average column is correct - and of course changes with column 1. however I need to be able to compare this with the upper quartile of the enitre dataset - i.e. I need the right hand column to give me the value 3 (in this case) all the way down.
I am using the below to calculate the Upper quartile.
UQMxDx =
VAR _A =
SUMMARIZE (
'MainFacts',
'MainFacts'[ProvCode],
'MainFacts'[p_spell_id],
"MaxRwCnt", MAX ( MainFacts[RwCnt] )
)
RETURN
CALCULATE(PERCENTILEX.INC ( _A, [MaxRwCnt], .75 ), ALLSELECTED(Providers[Current_code])
)
Is anyone able to point me in the right direction please?
Steve
- Anonymous4 years ago
Hi SteveIOW ,
Try ALL() function. If it doesn't work, please share some sample data so that we could test the formula.
Best Regards,
Jay
1 Reply
- AnonymousNot applicable
Hi SteveIOW ,
Try ALL() function. If it doesn't work, please share some sample data so that we could test the formula.
Best Regards,
Jay