Forum Discussion

jmateu88's avatar
jmateu88
Helper I
2 years ago
Solved

Visual filter for a dax measure

Hello, I have a doubt about a basic thing that I really feel as important thing to use. I am talking about having a slicer based in a dax measure which allows me to filter some data.   I cre...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi jmateu88 ,

     

    Ritaf1983 , thanks for your concern about this case. I tried to create a sample data myself based on the user's requirement. Please check if there is anything that can be improved. Here is my solution:

     

    1.Create a simple data:

     

     

    2.Create a calculated column:

     

     

    Column = CALCULATE(SUMX('Table','Table'[Quantity]),ALLEXCEPT('Table','Table'[ID]))

     

     

     

    3.Use the Column as the field of slicer:

    4.The final results are as follows:

    Best Regards,
    Zhu
    Community Support Team

     

    If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
    If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!