Forum Discussion
trattnh
2 years agoFrequent Visitor
SWITCH and IF always doing eager evaluation
From what I read online switch does eager evaluation and IF does lazy evaluation. I have defined both options. Both take the same amount of time (I analyzed this in dax studio). In the server timin...
mark_endicott
Super User
2 years agotrattnh - I'm sorry, I dont know of a way you can re-write this to see if you can force a strict evaluation.
Have you thought about using a field parameter to switch between the measures instead?
- trattnh2 years agoFrequent Visitor
Actually, I need to do something similar to displaying a table visual which has two columns - measure name, measure value.