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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
Till__
Helper I
Helper I

Dynamic Price Range of Quantiles

Dear all, 

I am looking for a Dynamic Price Range which puts prices of a different products into a range of a category. For example I have a table like that : 

 

Category Product Price 
APice 110 
APice 2800
Pice 330 
Pice 440
APice 550
BPice 620
CPice 71000

 

I am looking for an measure which puts my prices of products into different quantiles. the lowest 25% range, 26%-50% range,51%-75% and higest price range of 76%-100% of the higest prices. First the prices should be taken into these ranges over all products, then if I filter the distribution should only contain each price distribution of the category and subcateroy. Of course the data above is just an example as I have much more data. I want to avoid to put the price into an new column with manual price categories not depending on a dynamic distribution. 

 

 

Thank you all! 

1 REPLY 1
amitchandak
Super User
Super User

@Till__ , refer if these can help

https://sqldusty.com/2018/08/31/calculating-quartiles-with-dax-and-power-bi/

 

https://curbal.com/curbal-learning-portal/calculate-quartiles-in-power-bi-with-dax-percentile-exc-an...

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

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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

Top Solution Authors