Forum Discussion
Sammy22
1 year agoHelper I
Table with conditional quartiles
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 p...
- 1 year ago
Managed to find a solution. This is calculating the 75th percentile:
75th Percentile Discount% = calculate(PERCENTILE.INC('Table'[Country_Discount%] ,0.75),ALLEXCEPT('Table',Table[PRODUCT]))
Sammy22
1 year agoHelper I
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 |