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.
Hi,
I'm looking at this page Guided Learning , it mentions:
"Keep in mind that each time you reference a variable in your DAX expression, Power BI must recalculate its value according to your definition. For this reason, it's good practice to avoid repeating variables in your function."
But in the video, the professor says the variables will be only calculated once, that's the reason to use it in the first place.
Am I missing something here?
Solved! Go to Solution.
The guided learning is wrong. Variables will only be calculated once (per calculation) and if used multiple times can actually lead to performance improvements.
So don't shy away from variables.
Phil
The guided learning is wrong. Variables will only be calculated once (per calculation) and if used multiple times can actually lead to performance improvements.
So don't shy away from variables.
Phil
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 |
---|---|
109 | |
99 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
102 | |
87 | |
64 |