% of Total (Filtered)

haider378

Board Regular
Joined
Nov 7, 2009
Messages
97
AOA,

I have Matrix as attached



all these sales are filtered by product category and sales in million is a measure (sum of all sales)
I want to calculate % of sales by each customer and should be updated as product category change

Thanks
 

Attachments

  • Actual Table.PNG
    Actual Table.PNG
    37.9 KB · Views: 13

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Look at using Subtotal
=SUBTOTAL(109,E2:E100) will sum only the unfiltered values in E2:E100

So for each row you can divide the sales by the total unfiltered sales at the bottom
 
Upvote 0
Look at using Subtotal
=SUBTOTAL(109,E2:E100) will sum only the unfiltered values in E2:E100

So for each row you can divide the sales by the total unfiltered sales at the bottom
Your solution seems fit normal excel worksheet but what about powerbi
 
Upvote 0
Well since Power Bi reads Excel and Subtotal is a native function, I believe it should work.
 
Upvote 0
For Excel Power Pivot
-------------------------
1. Add table in Data Model
2. From PoverPivot Insert Pivot Table
3. From PivotTable Filds insert in Rows: Costumer
4. From PivotTable Filds insert in ∑Values: Sales 2x
5. Right click second column "Sales" and option "Show Values As/Rank Largest to Smallest.."
6. Right click column "Costumer" and option "More Sort Option/Descending (Z to A) by:" - pick "Second column 'Sales'"
 
Upvote 0

Forum statistics

Threads
1,223,796
Messages
6,174,658
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