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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
PBI5851
Helper V
Helper V

making a calculation based on the sum

Hello,

My raw is like below. 

TMShip CountRegionRD
John5EastSmith
Smith7NorthTony
Steve12SouthSmith
Mary15WestTony
Mark20WestJackie
Jim17NorthJackie
Tom25NorthTony
Brian30EastSmith

 

The expectation is to have three different tables. 

Table1

 

 

RDSum of Ship Count
Jackie37
Smith47
Tony47
Grand Total131

 

Table 2:

TMShip Count%
Brian23%
Jim13%
John4%
Mark15%
Mary11%
Smith5%
Steve9%
Tom19%

 

Table 3:

TMNewCal
Brian30
Jim17
John5
Mark20
Mary15
Smith7
Steve12
Tom25

 

New cal = Ship Count% * Grand Total from Ship Count (table1)

Table 1 and 2 are straightforward and i'm able to achieve this. But table 3 is where i keep getting stuck as I am unable to create a measure to capture the total as a complete value to make the calculation., while allowing the numbers to change based on any filter/slicers that can be applied. Any suggestions please. 

2 REPLIES 2
Ashish_Mathur
Super User
Super User

Hi,

What is the confusion/problem?  Jsut drag TM and Ship count to a Table visual.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
CoreyP
Solution Sage
Solution Sage

You can use ALLSELECTED to remove context to get a total calculation to use by each row. 

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.