Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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 July 2025 Power BI update to learn about new features.
User | Count |
---|---|
71 | |
69 | |
38 | |
26 | |
26 |
User | Count |
---|---|
97 | |
96 | |
59 | |
44 | |
40 |