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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

Percent of total Error - Interactive

Hi Experts, 

 

I am after retaining the interactivity between visuals and show % of total split by advance shipment. 

 

lalTel20_0-1660573499810.png

When I use formula for base in line 3, the totals come out correct however i loose interactivity. But, when I use formula for base in line 4, I retain the interactivity between visuals. however totals for few months is not coming out right. Whats the best to address this. 
#percentoftotal #dax #calculate

1 ACCEPTED SOLUTION
PurpleGate
Resolver III
Resolver III

I used this on your sample data. 

Measure 2 = 
var curr = SELECTEDVALUE('Table (2)'[Vol])
var base = CALCULATE(sum('Table (2)'[Vol]),REMOVEFILTERS('Table (2)'[ADVANCE SHIPMENT]))
return COMBINEVALUES(",", curr, base)
 
PurpleGate_0-1660642211647.png

It shows the split ok, just doesnt show the full 100% split for the total columns. 

View solution in original post

2 REPLIES 2
PurpleGate
Resolver III
Resolver III

I used this on your sample data. 

Measure 2 = 
var curr = SELECTEDVALUE('Table (2)'[Vol])
var base = CALCULATE(sum('Table (2)'[Vol]),REMOVEFILTERS('Table (2)'[ADVANCE SHIPMENT]))
return COMBINEVALUES(",", curr, base)
 
PurpleGate_0-1660642211647.png

It shows the split ok, just doesnt show the full 100% split for the total columns. 

Anonymous
Not applicable

This is the sample data - 

Released_YYYMMVolADVANCE SHIPMENTRECLASS DEMAND TYPE
22-Mar345NoNon-Warranty
22-Mar757NoWarranty
22-Mar158YesNon-Warranty
22-Mar687YesWarranty
22-Apr293NoNon-Warranty
22-Apr597NoWarranty
22-Apr163YesNon-Warranty
22-Apr795YesWarranty
22-May254NoNon-Warranty
22-May765NoWarranty
22-May136YesNon-Warranty
22-May589YesWarranty
22-Jun230NoNon-Warranty
22-Jun559NoWarranty
22-Jun167YesNon-Warranty
22-Jun545YesWarranty
22-Jul217NoNon-Warranty
22-Jul555NoWarranty
22-Jul159YesNon-Warranty
22-Jul665YesWarranty
22-Aug131NoNon-Warranty
22-Aug333NoWarranty
22-Aug55YesNon-Warranty
22-Aug177YesWarranty

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.