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
cassidy
Power Participant
Power Participant

Percentilex Quartile measure help

I created a Measure using Summarize to create a table of Products & a Measure, then using that new column to create Percentile groups.  Lastly, an IF statement to try and mark the Percentile groups (Quartiles).

 

Looks like this:

Screenshot 2020-10-01 153121.png

 

The Product Detail table has a relationship with a Product Hierarchy table, however that relationship doesn't seem to be retained with how I wrote the Measure above.

 

Here it is with a Hierarchy (Division) and a Product (Offer), works great:

 

Screenshot 2020-10-01 153728.png

 

But if I pull it out, I'd expect the Quartiles to adjust to the Division, instead it repeats Q1:

 

Screenshot 2020-10-01 153806.png

 

This is a very large dataset in heavy use with hundreds of Measures, so I feel good about the relationships and I'd think my new Quartile Measure is the issue.

 

 

Any ideas?  Thanks

2 REPLIES 2
amitchandak
Super User
Super User

@cassidy , Put your current return statement into this one and try

maxx(summarize(Table,Table[division], Table[Offer],"_1",<Current return statement >),[_1])

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

@amitchandak thank you for the reply.

 

Sorry if I wasn't clear, but the "Division" and the "Offer" are from two different tables and there are more levels to the Hierarchy than just Division.

 

Here is the relationship, joined by "CategoryCodeChain":

 

Screenshot 2020-10-02 085349.png

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!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.