Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
This might be a little bit off-topic, but I hope someone can help anyway.
I'm using DAXStudio to write some DAX queries and I'd like to be able to show the value of a scalar variable for debugging purposes, but I simply can't figure out how to do it. I can show the content of a table variable, so how do I do it with a scalar variable.
I e.g. have a Month-Year variable where I'd like to verify that it contains the right value, so does anyone know how I can show that in DAXStudio?
Regards
Steen
Solved! Go to Solution.
Hi @steen_p ,
As we know, dax studio can only get the row of a table. So we cannot get the Aggregated value directly. We can use ROW to work around like that.
EVALUATE
row ("a",today())
Hi @steen_p ,
As we know, dax studio can only get the row of a table. So we cannot get the Aggregated value directly. We can use ROW to work around like that.
EVALUATE
row ("a",today())
Hi @Anonymous ,
Thanks for your input.
I actually ended up doing something similar - I just used SUMMARIZECOLUMNS , but it's a little bit easier to use ROW.
Thanks
Steen
Hi @steen_p
You might refer to this document:
https://exceleratorbi.com.au/getting-started-dax-studio/
If you'd like to write some DAX formulas, kindly provide the data with desirables, we'd like to draw it up for you.
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
72 | |
38 | |
31 | |
27 |
User | Count |
---|---|
92 | |
50 | |
44 | |
40 | |
35 |