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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi everyone,
I'm using REMOVEFILTERS to calculate overall Customer Sales, based on staff_id.
The following works perfectly:
But if I add the same Customer Sales' measure to a variable and then use that variable in CALCULATE instead of the measure, it does not work. It returns Customer Sales for each staff_id, as if REMOVEFILTERS didn't exist.
If a the variable is just storing the Customer Sales measure's result, shouldn't the output be the same?
Solved! Go to Solution.
@Anonymous Yeah, so variables aren't variable in DAX. Once a "variable" is calculated, that's it, the value for the variable remains static. So, what you are doing won't work in DAX.
@Anonymous Yeah, so variables aren't variable in DAX. Once a "variable" is calculated, that's it, the value for the variable remains static. So, what you are doing won't work in DAX.
Got it.
Thank you!
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 50 | |
| 47 | |
| 29 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 89 | |
| 74 | |
| 39 | |
| 26 | |
| 24 |