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: 55
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

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
I will do that. Many thanks for a very pleasant collaboration on this topic :-)
 
Upvote 0

Forum statistics

Threads
1,225,726
Messages
6,186,674
Members
453,368
Latest member
xxtanka

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