Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago

Dynamic Percentile Matrix

Greetings!

 

I am trying to build a percentile matrix that allows the user to slice it by year, sales channel, business unit, category, sub-category, etc.

 

Below is what I am trying to build in Power BI:

  • Slicer 1
  • Slicer 2
  • Slicer 3
  • Slicer 4
Line-ItemMin25th Percentile50th Percentile75th PercentileMax
Volume##########
Gross Sales$$$$$$$$$$
Net Sales$$$$$$$$$$
Inventory COGS$$$$$$$$$$
Other COGS$$$$$$$$$$
Freight$$$$$$$$$$
Warehouse$$$$$$$$$$
Gross Margin$$$$$$$$$$
EBIT$$$$$$$$$$
Contribution Margin$$$$$$$$$$

 

Here is a general idea of what my fact table looks like:

 

DateCategory_IDSub-Category_IDVolumeGross SalesNet SalesInventory COGSOther COGSFreightWarehouseGross MarginEBITContribution Margin
1/1/2021AA1##$$$$$$$$$$$$$$$$$$
1/1/2021AA1##$$$$$$$$$$$$$$$$$$
1/1/2021AA1##$$$$$$$$$$$$$$$$$$
1/1/2021AA2##$$$$$$$$$$$$$$$$$$
1/1/2021AA2##$$$$$$$$$$$$$$$$$$
1/1/2021BB1##$$$$$$$$$$$$$$$$$$
1/1/2021BB1##$$$$$$$$$$$$$$$$$$
1/1/2021BB2##$$$$$$$$$$$$$$$$$$
1/1/2021BB2##$$$$$$$$$$$$$$$$$$
1/1/2021BB2##$$$$$$$$$$$$$$$$$$
1/1/2021CC1##$$$$$$$$$$$$$$$$$$
1/1/2021CC1##$$$$$$$$$$$$$$$$$$
1/1/2021CC2##$$$$$$$$$$$$$$$$$$
1/1/2021CC2##$$$$$$$$$$$$$$$$$$

 

I've looked around and tried a few of my own techniques but I can't seem to crack this nut.

 

Does anyone have any good ideas on how I can achieve this?

 

Thank you!

4 Replies