Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join 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.

Reply
computermike
Helper I
Helper I

How can I use a DAX query

I wrote a dax query that returns a table.  How would I use this in my report?  Do I have to add it to my model?  Can I use it behind a chart without adding to my model?  Can I display on a grid?

 

Thanks,

 

Mike

1 ACCEPTED SOLUTION
Anonymous
Not applicable

On the modeling ribbon there is a "New Table" button, where you put your dax query, and <poof>.  A new table is hanging out, refreshed only when you refresh your dataset (so, it is static).

 

It's not super clear what your "goal" is... what your asking would certainly be an atypical way of creating a report.

 

Typically you just drag over columns from existing tables, and write a few measures to do fancy calculations, then bob's ur uncle.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

There is no way to "display the results of this query in a visual" directly.  You can create a calculated table, then add each of the columns to your visual...

Not familiar with calculated table.  Is that a table in my data model?  So I would add it to my data model?  I am also wondering about relationships...   Would I leave it sitting by itself?  try and connect it to my fact table?   But what if the grain of the fact is different?

Anonymous
Not applicable

On the modeling ribbon there is a "New Table" button, where you put your dax query, and <poof>.  A new table is hanging out, refreshed only when you refresh your dataset (so, it is static).

 

It's not super clear what your "goal" is... what your asking would certainly be an atypical way of creating a report.

 

Typically you just drag over columns from existing tables, and write a few measures to do fancy calculations, then bob's ur uncle.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.