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
Dear team,
is there a way to check evaluation result of a complex DAX formula line-by-line?
For example, I'm troubleshooting my formula below, which for some reason doesn't work. To find out where the bug is I want to know what output do I have after each step.
Like I click on VAR Items (for example) and it shows me that this variable is a table with a list of brokers.
Then I click on VAR ItemsWithRank and it shows me that this is a table with List of brokers, brokerage fees per broker and rank of the broker depending on the brokerage fee.
Any way to do that?
Solved! Go to Solution.
@Anonymous
You could make a calcualted table using your first 5 VAR and in the return just start with returning Items, then switch it to ItemsWithValue, etc. That way you can see what the actual table output is. You could also use DAX Studio to see the output of the table expressions.
@Anonymous
You could make a calcualted table using your first 5 VAR and in the return just start with returning Items, then switch it to ItemsWithValue, etc. That way you can see what the actual table output is. You could also use DAX Studio to see the output of the table expressions.
Guys,
thank you for your prompt replies!
Both Methods work more or less though we do need a debugger..
Here is another nice link which I was able to google after your ideas
https://www.youtube.com/watch?v=9SV2VnYbgg4
Cheers,
Misha
I usually just copy/paste each part of the expression and set it up as a new measure, and then check the result of each of those measures.
As far as I'm aware, Power BI doesn't have a debugging mode for DAX expressions.
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 | |
88 | |
75 | |
68 | |
51 |
User | Count |
---|---|
207 | |
141 | |
99 | |
79 | |
69 |