Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Additional wildcard Filter for LOOKUPVALUE

Hello & Happy Friday,   Using the DAX LOOKUPVALUE code below is it possible add an additonal wildcard filter on CRITSITS'[CritSit Event Type] = "*Metric*"?   The DAX code below works great but ...
  • Greg_Deckler's avatar
    6 years ago

    You may have better luck with just simple filtering like this:

     

    CritSitVerified = 
        IF(ISBLANK(
          MAXX(
            FILTER(
              'CRITSITS',
              'CRITSITS'[Ticket ID] = 'CROutages'[RTPA] &&
                (SEARCH("Metric",'CRITSITS'[CritSit Event Type],1,-1) > 0)
            ),
            'CRITSITS'[CritSit Event Type]
          )),
    "No","Yes")