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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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