Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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 November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!