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
rajasekaro
Helper II
Helper II

Total % not Showing Correctly

 

Hi Team,

Screenshot 2025-08-14 133415.png

but if i select one or more supplier the spend  total 100 % not showing 

rajasekaro_1-1755164497787.jpeg

 

rajasekaro_2-1755164497788.jpeg

DIVIDE(
    SUM(PO_Detail[amount]),
    CALCULATE(
        SUM(PO_Detail[amount]),FILTER(Supplier,
        ALL(Supplier[NAME])
    )
)
)

 

1 ACCEPTED SOLUTION
alish_b
Impactful Individual
Impactful Individual

Hi @rajasekaro , 

 

Please try the following in the measure calculation; 

DIVIDE(
    SUM(PO_Detail[amount]),
    CALCULATE(
        SUM(PO_Detail[amount]),
        ALLSELECTED(Supplier[NAME])
    )
)

Basically, ALL() ignores all filters (coming from slicers as well) while ALLSELECTED() ignores other filters but respects user selections/slicers. 

Hope it helps!

View solution in original post

2 REPLIES 2
MasonMA
Community Champion
Community Champion

Hello @rajasekaro 

 

Your formula 'ALL' removes all filters from the Supplier[NAME] column, which means it will always show the percentage against the grand total, regardless of selections.

 

Try ALLSELECTED Instead of ALL as this respect your selections while removing filters.

DIVIDE(
SUM(PO_Detail[amount]),
CALCULATE(
SUM(PO_Detail[amount]),
ALLSELECTED(Supplier[NAME])
)
)

Hope this helps:) 

alish_b
Impactful Individual
Impactful Individual

Hi @rajasekaro , 

 

Please try the following in the measure calculation; 

DIVIDE(
    SUM(PO_Detail[amount]),
    CALCULATE(
        SUM(PO_Detail[amount]),
        ALLSELECTED(Supplier[NAME])
    )
)

Basically, ALL() ignores all filters (coming from slicers as well) while ALLSELECTED() ignores other filters but respects user selections/slicers. 

Hope it helps!

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!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.