Forum Discussion
bcap01
Helper II
3 years agoIS ELSE Statement based on STRING
Hello, I want to create an IF ELSE Statement based on string values. I want to do something like the below but is generating an error. Any suggestions on what might be off? The message I g...
amitchandak
Super User
3 years agobcap01 , Measure can use measure, constants and aggregated columns
Measure = if(Max(ReportTable[UserEmail])=USERPRINCIPALNAME(),"green","red")
bcap01
Helper II
3 years agoThank you amitchandak ! When I do this, the results are the same and the ELSE color populated the fill of the button. My hope and expectation is that the Button fill will change based on my IF ELSE Statement, do I need to do something different to make this work?