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.
Hello!
Just a general question...I'm wonder if unused variables not used after the "RETURN" might cause DAX to evaulate slower?
Thanks!
Solved! Go to Solution.
My understanding is that unused variables don't impair performance due to "lazy evaluation", meaning that a variable isn't evaluated until its first use. See the article below, as well as the comments at the end of the article for a detailed discussion:
https://www.sqlbi.com/articles/understanding-eager-vs-strict-evaluation-in-dax/
Proud to be a Super User!
My understanding is that unused variables don't impair performance due to "lazy evaluation", meaning that a variable isn't evaluated until its first use. See the article below, as well as the comments at the end of the article for a detailed discussion:
https://www.sqlbi.com/articles/understanding-eager-vs-strict-evaluation-in-dax/
Proud to be a Super User!
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 |
---|---|
110 | |
94 | |
81 | |
66 | |
58 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |