Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Verify values from two tables (True/False statements)

Hello,

 

I have two tables with multiple columns and i need to verify if some values are in one and others in another. The problem is i cannot merge as then it creates circular flow and Power Bi doesnt like it. There isnt a straight Vlookup way of adding the columns from one to another in Query (or i havent found one yet). When Lookup using DAX i can find and then filter true and false, but as i need lets say 3 different columns to be filtered: example if(A=True, then set B=True, else set C=True) here A,B, C are the values that were LOOKEDUP from one of the tables. Any ideas how to approach this problem? 

  • Anonymous's avatar
    Anonymous
    5 years ago

    Actually, that didnt seem to be what i was looking for, however your suggestion gave me another idea speaking of conditions, and so i applied the if statemnts on the LOOKUPVALUEs that way i already got my TRUE and FALSE from that output, and then when i was doing the additional checks this time Power Bi was accepting them as before I was keep getting an error for true and false not possible to filter in such ways, but i guess just needed to find another step before that, so thanks in the end i got to where i needed 🙂

3 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Actually, that didnt seem to be what i was looking for, however your suggestion gave me another idea speaking of conditions, and so i applied the if statemnts on the LOOKUPVALUEs that way i already got my TRUE and FALSE from that output, and then when i was doing the additional checks this time Power Bi was accepting them as before I was keep getting an error for true and false not possible to filter in such ways, but i guess just needed to find another step before that, so thanks in the end i got to where i needed 🙂

    • Fowmy's avatar
      Fowmy
      Super User

      Anonymous 

      Glad you found a solution at the end, do let me know if you face any issues.