Forum Discussion

Prabhu_MDU's avatar
Prabhu_MDU
Advocate I
5 years ago
Solved

Calculate subtotal based on multiple slicer

Dear Experts,    Good Day, hope you are doing good.    Ok, my requirement is quiet different or unusual, we are in a process of replicating the SSRS tabular reports in Power BI, most of the featu...
  • v-yalanwu-msft's avatar
    v-yalanwu-msft
    5 years ago

    Hi, Prabhu_MDU ;

    You could try to change the measure as follows:

     

    Payment =
    CALCULATE (
        SUM ( [Payment] ),
        FILTER (
            'Table',
            [Company] = MAX ( Slicer1[Group1_Column] )
                && [External] = MAX ( Slicer2[Group2_Column] )
                && [Process Center] = MAX ( Slicer3[Group3_Column] )
                && [State Name] = MAX ( Slicer4[Group4_Column] )))
    
    

     

    Best Regards,
    Community Support Team_ Yalan Wu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.