Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Creating a slicer from LOOKUPVALUE Range

Hello,   I'm trying to create a slicer from the LOOKUPVALUE Range measure, related to my earlier post from last week, which was answered.  Following up on that post, I'm trying to show which campa...
  • v-janeyg-msft's avatar
    v-janeyg-msft
    5 years ago

    Hi, Anonymous 

     

    If i understand what you mean, I think you only need to change the measure into a column, as I wrote above, so that you can use it at any time in the effective table.

     

    Column =
    VAR __Score = 'Effective Date and Amount'[Effective Date]
    VAR __ID = 'Effective Date and Amount'[Location]
    return 
        MAXX (
            FILTER (
                'Campaign Levels',
                [Country Name] = __ID
                    && __SCore >= [Campaing Start Date]
                    && __Score <= [Campaign End Date]
            ),
            [Campaign Level]
        )

     

     

    Best Regards

    Janey Guo

     

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