Join 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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
I am working with grouping previous year customer sales into small, medium, and large buckets. A Customer size table has been created for the grouping:
With a page filter for small, medium, and large sales can be displayed for the selected size.
The dax formula to calculate sales is:
Solved! Go to Solution.
Hi @m_wex
You can perform a flexible % analysis using Dax, and there are many ways to produce your required output and one of them is as follows. (I've created a dummy sales data in order to demonstrate in this example).
Assuming that your Sold-To-Party information is not repetitive (i.e., unique), you can create a calculated column to pre-calculate classification into sales size groupings for each sold-to-party.
Then create a relationship between your size dimension table and your fact table with the sales figures and sales size grouping for each sold-to-party.
Then, create an intermediary measure like below which ignores filter of the size dimention by using all(Size) table, and divide the sales measure with this one to get the % of each size grouping over the total sales amounts.
You can do the similar calculation in many different ways, but the above one is breaking down the steps for simplicity purposes.
I attach an example pbix file, too.
Best regards,
Hi @m_wex
You can perform a flexible % analysis using Dax, and there are many ways to produce your required output and one of them is as follows. (I've created a dummy sales data in order to demonstrate in this example).
Assuming that your Sold-To-Party information is not repetitive (i.e., unique), you can create a calculated column to pre-calculate classification into sales size groupings for each sold-to-party.
Then create a relationship between your size dimension table and your fact table with the sales figures and sales size grouping for each sold-to-party.
Then, create an intermediary measure like below which ignores filter of the size dimention by using all(Size) table, and divide the sales measure with this one to get the % of each size grouping over the total sales amounts.
You can do the similar calculation in many different ways, but the above one is breaking down the steps for simplicity purposes.
I attach an example pbix file, too.
Best regards,