Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
i have a table with discounts for countries. I want to calculate the quartile 1 of the region for the specific product and then the quartile 1 of all the countries regardless of region based on the product.
| Country | Region | Product | Country Discount | Q1 Region | Q1 Overall |
| China | Eastern Asia | A | 0.54 | ||
| Korea | Eastern Asia | B | 0.52 | ||
| Japan | Eastern Asia | C | 0.51 | ||
| Taiwan | Eastern Asia | A | 0.62 | ||
| Slovenia | Southern Europe | B | 0.69 | ||
| Hungary | Eastern Europe | C | 0.55 | ||
| Czech Republic | Eastern Europe | A | 0.49 | ||
| Poland | Eastern Europe | B | 0.43 | ||
| Slovakia | Eastern Europe | C | 0.53 | ||
| Romania | Eastern Europe | A | 0.7 | ||
| Bulgaria | Eastern Europe | B | 0.66 |
Solved! Go to Solution.
Managed to find a solution. This is calculating the 75th percentile:
Managed to find a solution. This is calculating the 75th percentile:
Thanks lbendlin for the helpful thoughts.
Hi @Sammy22 ,
I'm going to make some additions to yours, here I've created two calculated columns:
Q1 Region =
CALCULATE(
PERCENTILE.INC('Table'[Country Discount], 0.25),
ALLEXCEPT('Table', 'Table'[Region],'Table'[Product]))
Q1 Overall =
CALCULATE(
PERCENTILE.INC('Table'[Country Discount],0.25),
ALLEXCEPT('Table','Table'[Product]))
The result is as follows:
Best Regards,
Zhu
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
i have a table with discounts for countries. I want to calculate the quartile 1 of the region for the specific product and then the quartile 1 of all the countries regardless of region based on the product.
| Country | Region | Product | Country Discount | Q1 Region | Q1 Overall |
| China | Eastern Asia | A | 0.54 | ||
| Korea | Eastern Asia | B | 0.52 | ||
| Japan | Eastern Asia | C | 0.51 | ||
| Taiwan | Eastern Asia | A | 0.62 | ||
| Slovenia | Southern Europe | B | 0.69 | ||
| Hungary | Eastern Europe | C | 0.55 | ||
| Czech Republic | Eastern Europe | A | 0.49 | ||
| Poland | Eastern Europe | B | 0.43 | ||
| Slovakia | Eastern Europe | C | 0.53 | ||
| Romania | Eastern Europe | A | 0.7 | ||
| Bulgaria | Eastern Europe | B | 0.66 |
You would use PERCENTILEX for that. Have you tried that?
Note that your data is insufficient for this. You need many more datapoints.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 3 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 13 | |
| 9 | |
| 8 | |
| 8 | |
| 7 |