Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
SteveIOW
Helper II
Helper II

keep the upper quartile constant

All,

 

I ahve a table thus...

SteveIOW_0-1660143255967.png

 

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

1 ACCEPTED SOLUTION
v-jayw-msft
Community Support
Community Support

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

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

View solution in original post

1 REPLY 1
v-jayw-msft
Community Support
Community Support

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

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.