Forum Discussion
Anonymous
8 years agoNot applicable
IF and SWITCH in measures
I don't have much experience using IF for creating a measure and just stumbled across switch today, but it appears that if I want to create a measure using either, I can only use measures that I've a...
v-jiascu-msft
Microsoft Employee
8 years agoHi Anonymous,
Please try a measure like this:
Measure =
IF (
MIN ( 'Table1'[Move Date] ) > TODAY ()
|| ISBLANK ( MIN ( 'Table1'[Move Date] ) ),
MIN ( Table1[Address] ),
MIN ( Table1[New Address] )
)
Best Regards,
Dale
Anonymous
8 years agoNot applicable
It looks like that worked, thank you so much! I don't (or didn't until now) have any experience with the || (or &&) operators, those look like they will be very helpful going forward, I appreciate it.