Forum Discussion

ephramz's avatar
ephramz
Icon for Helper II rankHelper II
5 years ago
Solved

Dynamic slicer for a measure

I have a measure that gives me results ranging from positive to negative values.   How can I create a column in a new table, all the values of this measure. (The purpose of this is to do a dynamic...
  • v-henryk-mstf's avatar
    5 years ago

    Hi ephramz ,

     

    As Greg_Deckler  said, it is not clear what your specific needs are.

     

    If you want to dynamically display the value of measure according to the slicer, you can refer to the following test:

    M = 
    VAR sel =
        SELECTEDVALUE ( 'Table'[Month] )
    RETURN
        CALCULATE ( SUM ( 'Table'[Quantity] ), 'Table'[Month] = sel )


    If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.


    Best Regards,
    Henry


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