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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
iluvaccounting1
Frequent Visitor

How to get the DAX query behind PowerBI visualizations?

I need to get the DAX query behind the PowerBI visualization. I know that it is possible to do by using performance analyzer, re-running the query and then getting the underlying DAX coding from that. The issue I am running into is that the PowerBI I'm working with doesn't have access to the dataset which was originally queried in so if I try to refresh the queiries the model errors out.

 

Any work arounds / help would be greatly appreciated.

 

Thanks!

2 ACCEPTED SOLUTIONS
Daniel29195
Super User
Super User

@iluvaccounting1 

try the following : 
open dax studio

connect it to your local power bi file. ..

at the top  enable : all queries . 

Daniel29195_0-1710446459784.png

 

now any interaction with the power bi file, the query of the visuals will be listed below . 

 

 

let me know if this works .

 

 

 

If my answer helped sort things out for you, i would appreciate a thumbs up 👍 and mark it as the solution
It makes a difference and might help someone else too. Thanks for spreading the good vibes! 🙏

View solution in original post

Anonymous
Not applicable

HI @iluvaccounting1,

I'd like to suggest you try to use power bi desktop, it can also trace the visual backend processing queries.

Use Performance Analyzer to examine report element performance in Power BI Desktop - Power BI | Micr...

1.png

Regards,

Xiaoxin Sheng

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

HI @iluvaccounting1,

I'd like to suggest you try to use power bi desktop, it can also trace the visual backend processing queries.

Use Performance Analyzer to examine report element performance in Power BI Desktop - Power BI | Micr...

1.png

Regards,

Xiaoxin Sheng

Daniel29195
Super User
Super User

@iluvaccounting1 

try the following : 
open dax studio

connect it to your local power bi file. ..

at the top  enable : all queries . 

Daniel29195_0-1710446459784.png

 

now any interaction with the power bi file, the query of the visuals will be listed below . 

 

 

let me know if this works .

 

 

 

If my answer helped sort things out for you, i would appreciate a thumbs up 👍 and mark it as the solution
It makes a difference and might help someone else too. Thanks for spreading the good vibes! 🙏

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors