Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

create if condition based on three columns in different tables

I have this 3 tables  table1: id hasE? 1 1 2 1 5 0 6 0 8 1 9 1 table2: id hasK? 1 1 2 1 5 0 6 0 8 0 9 0 table3: id hasU? 1 ...
  • Jihwan_Kim's avatar
    5 years ago

    Hi, Anonymous 

     

    Please check the below picture and the sample pbix file's link down below.

     

     

    Status Measure =
    IF (
    ISFILTERED ( IDs[id] ),
    IF (
    MAX ( Table1[hasE?] ) = 1
    || MAX ( Table2[hasK?] ) = 1
    || MAX ( Table3[id] ) = 1,
    "True",
    "False"
    )
    )

     

     

    https://www.dropbox.com/s/ab5hnvsba4315nh/fatimah.pbix?dl=0 

     

     

    Hi, My name is Jihwan Kim.

     

    If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.

     

    Linkedin: linkedin.com/in/jihwankim1975/

    Twitter: twitter.com/Jihwan_JHKIM

  • Jihwan_Kim's avatar
    Jihwan_Kim
    5 years ago

    Hi, Anonymous 

    I am not sure how your desired output looks like. Please check the link down below, otherwise, please share how your expected output looks like.

     

    https://www.dropbox.com/s/ab5hnvsba4315nh/fatimah.pbix?dl=0 

     

     

     

    Hi, My name is Jihwan Kim.

     

    If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.

     

    Linkedin: linkedin.com/in/jihwankim1975/

    Twitter: twitter.com/Jihwan_JHKIM