The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi all,
I would love to do a comparison that checks if the value in a column is greater than 0 but less than 2,
eg
IF( A[BBB]>0 AND <= 2, "RRR", " NNN), "000)
Any idea how I can tweak that for it not to throw an error.
Solved! Go to Solution.
Hi,
Something like this should work:
IF( Table[column] > 0 && Table[column] <=2,"ResultTrue","ResultFalse")
or if you want to use switch:
SWITCH(TRUE(),Table[column] > 0 && Table[column] <=2,"ResultTrue","ResultFalse")
Hi,
Something like this should work:
IF( Table[column] > 0 && Table[column] <=2,"ResultTrue","ResultFalse")
or if you want to use switch:
SWITCH(TRUE(),Table[column] > 0 && Table[column] <=2,"ResultTrue","ResultFalse")
Thank you!!