Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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.
-------------------
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
100 | |
74 | |
73 | |
49 |
User | Count |
---|---|
145 | |
109 | |
109 | |
90 | |
64 |