Forum Discussion

jonathona321's avatar
jonathona321
Frequent Visitor
6 years ago
Solved

Can a Measure be used in the Lookupvalue function

 Is it possible to use the lookupvalue function to lookup the measure corresponding to name of the row?  I would like to lookup the measure value in table2 and bring it back to table 1 based on the N...
  • TomMartens's avatar
    6 years ago

    Hey jonathona321 ,

     

    I'm wondering what you are creating in table 1, a calculated column?

    You have to be aware that calculated columns will only be evaluated during data refresh, an (re)evaluation of a calculated column is not triggered by a slicer selection or any other interaction of an user with the data.

     

    Nevertheless, the simple answer is: No!

     

    LOOKUPVALUE has a column reference as a 1st parameter, and for this reason a measure can not be used.

     

    Regards,

    Tom