Forum Discussion
Percentage for selected value
- Anonymous3 years ago
That's cool, I think you should use switch statement rather then this nested if statement to reduce the complexity and performance of the measure like this.
Test = switch(Request_Table[Request Status],"Closed","Completed","Resolved","Completed","Cancelled","Completed","Open or On Hold")
OR
if(Request_Table[Request] IN { ,"Closed","Resolved","Cancelled"} ,"Completed" , "Open or On Hold")This will improve your dax performance alot.
If my response helps you a bit then do hit the like.
That's cool, I think you should use switch statement rather then this nested if statement to reduce the complexity and performance of the measure like this.
Test = switch(Request_Table[Request Status],"Closed","Completed","Resolved","Completed","Cancelled","Completed","Open or On Hold")
OR
if(Request_Table[Request] IN { ,"Closed","Resolved","Cancelled"} ,"Completed" , "Open or On Hold")
This will improve your dax performance alot.
If my response helps you a bit then do hit the like.