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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
BaronSdG
Resolver II
Resolver II

How to change SQL statement on an active Direct Query

Hello everyone,

 

I have created a connection to an Azure DB. I used an SQL but now I need to update it. How to change SQL statement? The area is gray and doesn't allow me to change it.image.png

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@BaronSdG , Open edit data transformation/edit query mode.

 

Right-click on table - Open the advance editor and check if the query is there.

 

Or check do you source there. Open the advance editor and check if the query is there.

 

Try to change there

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@BaronSdG , Open edit data transformation/edit query mode.

 

Right-click on table - Open the advance editor and check if the query is there.

 

Or check do you source there. Open the advance editor and check if the query is there.

 

Try to change there

Yes is there, Thanks

 

But, the syntax is a bit different from the SQL statement I added as there is this term #(lf) in front of several Selects and other elements.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors