Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
JPSingh
Frequent Visitor

Sum X for total excluding Month

I am trying to get to a formula which will allow me to * each row value by the grand total %  for that region. 

e.g. In my first table I have the data for my upsell and then the % which is basically Upsell / Target 

JPSingh_1-1730454655913.png

In this table you can see the total upsell % without the the month breakdown

JPSingh_2-1730454663933.png

I need a formula which will basically take each row value above and * by the upsell % below 

e.g. for AMER it should basically look at each row value above and multiply by the value in second table 

Nov = 22,500 * 103% 

Dec = 54,000 * 103%
The SUMX formula I am trying doesn't seem to work.  

 

1 ACCEPTED SOLUTION
SamWiseOwl
Super User
Super User

Hi @JPSingh 

Multi by total =

var totalper = Calculate( [upsell %], allselected(table[region]), allselected(table[month field]))

return [upsell $] * totalper

 

Calculate can remove filters, here we use ALLSelected to remove the row filters in the visual.

Remove the fitler from the month column and the region column.


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

View solution in original post

1 REPLY 1
SamWiseOwl
Super User
Super User

Hi @JPSingh 

Multi by total =

var totalper = Calculate( [upsell %], allselected(table[region]), allselected(table[month field]))

return [upsell $] * totalper

 

Calculate can remove filters, here we use ALLSelected to remove the row filters in the visual.

Remove the fitler from the month column and the region column.


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.