Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
103 | |
99 | |
98 | |
38 | |
37 |
User | Count |
---|---|
151 | |
121 | |
73 | |
71 | |
63 |