Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Boolean calculated column

Hi 

 

How to write boolean calculated expression when 

1)Calcuated column A : "Column 1 & Column 2  equal to value ='A' else 'No'

2)Calculated Column B: Column 1 & Column2  not equal and is null  then 'Yes' else 'o'

 

Vs

 

 

  • Anonymous 

    Two Columns:

    Column A = IF( Table[Column1] = Table[Column2] ,"A" , "NO")
    
    Column B = IF( ISBLANK(Table[Column1]) && ISBLANK(Table[Column2] ), "YES", "O")  

    ________________________

    If my answer was helpful, please consider Accept it as the solution to help the other members find it

    Click on the Thumbs-Up icon if you like this reply 🙂

    YouTube  LinkedIn 

2 Replies

  • Anonymous 

    Two Columns:

    Column A = IF( Table[Column1] = Table[Column2] ,"A" , "NO")
    
    Column B = IF( ISBLANK(Table[Column1]) && ISBLANK(Table[Column2] ), "YES", "O")  

    ________________________

    If my answer was helpful, please consider Accept it as the solution to help the other members find it

    Click on the Thumbs-Up icon if you like this reply 🙂

    YouTube  LinkedIn 

  • Anonymous's avatar
    Anonymous
    Not applicable

    How to convert boolean datatype as text datatype for Calculated column in Power Bi?