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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
MP_123
Microsoft Employee
Microsoft Employee

sql query

hi, 

is there any way to produce a calculated measure with sql query? or defining to the power bi what to send to the DB?

 

thanks

1 REPLY 1
tringuyenminh92
Memorable Member
Memorable Member

With DirectQuery mode, you could track the generated query in sqlprofiler as I mentioned in topic https://community.powerbi.com/t5/Developer/Performance-using-Direct-Query-on-Embedded-Dashboard/td-p...

Helpful resources

Announcements
December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.