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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.