Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
As of now, experiments I realized with DAX on SSAS Level 1500, make me think that in the expression :
SWITCH(intValue,
value_1, expr1,
value_2, expr2,
...
value_N, exprN
)
the evaluation engine first evaluate all expr1, expr2, ..., exprN before selecting the correct expression to return.
My questions are : does it really is the case ? Is there any workaround ?
Solved! Go to Solution.
Read all about it here. https://www.sqlbi.com/articles/optimizing-if-and-switch-expressions-using-variables/
Read all about it here. https://www.sqlbi.com/articles/optimizing-if-and-switch-expressions-using-variables/
Thank you, I finally found this paper this morning.
Anyway strange behavior.
Again thanks for your help.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
49 | |
25 | |
20 | |
15 | |
12 |
User | Count |
---|---|
57 | |
49 | |
44 | |
19 | |
18 |