Forum Discussion

Abdel-2024's avatar
Abdel-2024
Frequent Visitor
3 years ago

DAX command

Hi,

How can I create the following excel formual in new column (W/Wo_QC) between 2 columns (Opp_ID) & (LOA_ID) in different tables  using DAX in Power Bi

 

    =IF(ISNA(VLOOKUP(L2,QC!AV:AV,1,FALSE)),"Without","With")

 

6 Replies

    • Abdel-2024's avatar
      Abdel-2024
      Frequent Visitor

      Hi, Thanks but still  it is not working 

      1st both columns contains text

      2nd same text (string) is repeated in several rows in each column 

      sOpportunity_ID

      22.KE.301258
      22.KE.301258
      22.KE.301258
      22.KE.301258
      22.KE.301258
      22.KE.301258
      22.TZ.293595
      22.TZ.304520
      22.TZ.293595
      22.TZ.293595
      22.TZ.293595
      22.TZ.293595

       

       

      LOA_ID

      22.KE.301258
      22.TZ.293595
      22.TZ.304520
      22.TZ.293595
      22.KE.301258
      22.KE.301258
       
       
       
       
       
       
      • tamerj1's avatar
        tamerj1
        Community Champion

        Abdel-2024 

        Oh! my mistake. Please try

        =
        IF ( Table1[Opp_ID] IN VALUES ( Table2[LOA_ID] ), "With", "Without" )