Forum Discussion

rajasekaro's avatar
rajasekaro
Icon for Helper III rankHelper III
1 year ago
Solved

Total % not Showing Correctly

  Hi Team, but if i select one or more supplier the spend  total 100 % not showing    DIVIDE(     SUM(PO_Detail[amount]),     CALCULATE(         SUM(PO_Detail[amount]),FILTER(Su...
  • alish_b's avatar
    1 year ago

    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!