March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Is it possible to reference or record a DAX measure in Power Query?
Hey,
actually this is not possible.
You have to imagine the whole Power BI "Magic" as layered tricks:
The first layer are the queries that extract and transform data from data sources, most of the time the result of a query is a table that will be used in the data model.
The 2nd layer are calculated columns
The 3rd layer are measures
Each layer builds upon its predeccessor, for this reason slicer can not interact with calculated columns, meaning a selection in a slicer will not affect the calculation of a calculated column, it just filters the rows.
This "image" may explain, why it's not possible to reach out from a query to a measure.
Hopefully this helps
Regards
Tom
If i were to calculate my values in a column rather than a measure I should be able to circularly query this table?
I'm not entirely sure what you mean by that but in general, no. Power Query is M and you cannot use DAX in Power Query. What exactly are you trying to do?
I have measures calculating Daily, Weekly, Monthly totals. I am trying to record or store these values in a dynamic table upon refresh within PowerBI.
The issue is I can't do this in the database because this data is from an export from a third party vendor. I do not have access to the data source.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
87 | |
87 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |