Quantcast
Channel: Power Query topics
Viewing all articles
Browse latest Browse all 31075

Power BI equivilant of nested if and AND function

$
0
0

I have been trying to get a new column with different values in it and have been failing badly.  I have reduced the query down to the bare minimum to try and find out where i am going wrong, but i cannot get the correct values to returned.  

=if [Live Supplier] = "TRUE" and [CHAS Approved] = "TRUE" then "Good" else "bad"

This is not picking up on the TRUE or FALSE elements of the columns. Can anyone help as i have tried with in all sorts of different formats, and in DAX, but to no avail.  Ideally i need to add a third element and then another else if but it is pointless trying that until i can get this basic element working.  Any help greatly appreciated


Viewing all articles
Browse latest Browse all 31075

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>