Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hi,
I am creating a table with DAX using multiple measures that need to be calculated over time and for several locations. Since measures are not suited to be visualized in tables and matrices, the calculations are pre-processed in a table.
The concept is working, although the variable LocationA is not correctly applied while the variable LocationB works fine. Results for me are expected to be exactly the same.
Anybody have an idea why LocationA is not correctly applies?
----------------------
Solved! Go to Solution.
Hi @Icey ,
Figured it out. The table creation below works now.
Thanks for thinking with me.
-------------------
Hi @Anonymous ,
In your expression,
LocationA = FILTER('Sales','Sales'[Location]=1)
LocationA is a table, not a single value or a column.
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Icey,
Thanks for your responce.
What I would like to accomplish is to use variables to generate tables over multiple dimensions.
For example, in case I would like to add the combination Location and store later on, that I would only need to adjust the variable and not all individual calculations in the DAX code. Does not have to be with the use of a variable specifically...
You have any idea's?
Kind regards,
ReneRooijackers
Hi @Anonymous ,
If you don't mind, please share me an example PBIX file without sensitive information.
Best Regards,
Icey
Hi @Icey ,
Figured it out. The table creation below works now.
Thanks for thinking with me.
-------------------
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 83 | |
| 42 | |
| 30 | |
| 27 | |
| 27 |