Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
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
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 29 | |
| 27 | |
| 26 | |
| 23 | |
| 16 |
| User | Count |
|---|---|
| 53 | |
| 46 | |
| 38 | |
| 29 | |
| 21 |