percentage subtotals

chriscorpion786

Board Regular
Joined
Apr 3, 2011
Messages
112
Office Version
  1. 365
Platform
  1. Windows
Hi All,
Im trying to find a DAX solution to evaluate percentages for subtotals. I have 2 columns, SubFamily and within it I have Brand names, so I need to find the percentage of each
Brand within that Sub family and the sub family should also show percentage of the grand total.
It will be clear in the attached image I have uploaded. Iron Steam is a sub family name so the 12.2% share shows its weight in the category of sub family name, at same time,within this category there are many brands for e.g Philips shows 34.95% share withing the Brands. All these are correct and I got a solution from the internet, but I didnt understand it.
Is there a better way of writing it in DAX which makes more sense to do this.
Please help.
 

Attachments

  • BI.jpg
    BI.jpg
    219.5 KB · Views: 52
Hi Justina,
Very clear on the Countrows formula. Thanks for the great explanation.
By the way, my table EPOS is a standalone table. Anyways, we got the formula working and it seems pretty straight forward and easy to understand with the isinscope functiton.
I have another question regarding price segmentation and will post it today under the heading "Price Segmentation". Please do have a look if you get the time.
Many thanks....
 
Upvote 0

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
I will do that. Many thanks for a very pleasant collaboration on this topic :-)
 
Upvote 0

Forum statistics

Threads
1,223,793
Messages
6,174,626
Members
452,575
Latest member
Fstick546

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top