Forum Discussion

Fraze's avatar
Fraze
Icon for Helper I rankHelper I
5 years ago
Solved

Subtotal Needs to Calculates Differently than Row Level

Hello,   I have a matrix using a measure with the DAX expression 'Expense / Sales'.   So each row represents a % of total sales. see below:     Currently my subtotal for the 3 year avera...
  • v-xulin-mstf's avatar
    5 years ago

    Hi Fraze

     

    You can use HASONEVALUE to modify the calculation logic of  subtotal.

    Try measure as:

    IF(
        HASONEVALUE('Table'[Column]),
        measure,
        new measure    //calculation logic of '69.75%'
    )

     

    Best Regards,

    Link 

     

    If this post helps then please consider Accept it as the solution to help the other members find it more quickly.