Forum Discussion

JohnCarl45's avatar
JohnCarl45
Helper I
2 years ago
Solved

Filtering Two Categories in a column

Hi folks, good day. Can you help me to filter two name categories in the Account Column: "Service Income—SC" and "Service Income—External" to show the value of the remaining categories in the Account...
  • v-jincheng-msft's avatar
    2 years ago

    Hi JohnCarl45 ,

    Hi, thanks for the information you have given.

    To show the value of the remaining categories in the Account Column, you can use the DAX as follow:

    Amount_ = var _t=CALCULATETABLE('Table', NOT('Table'[Account] IN {"Service Income - SC", "Service Income - External"}))
    
    RETURN MAXX(_t,[Amount])

     

     

     

     

     

    An attachment for your reference. Hope it helps!

     

    Best regards,
    Community Support Team_ Joseph Ji

     

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