Forum Discussion
gvg
Post Prodigy
9 years agoLookupvalue equivalent to search for text values
Hi DAXers, I am wondering is there a way to search for a text string in DAX and return a value like with LOOKUPVALUE? I believe I can not use LOOKUPVALUE because ir requires a scalar search value. L...
MFelix
Super User
9 years agoHi gvg,
You are making a measure right? In dax you can use max and.min also with text fields, so if.ypu use the.last sintax should work.
You are making a measure right? In dax you can use max and.min also with text fields, so if.ypu use the.last sintax should work.
gvg
Post Prodigy
9 years agoOK, it works for a standalone measure. My problem was that I've been using it as part of another formula.
Thanks!