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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
TCunningham
Regular Visitor

Unable To Edit SQL

Hello - does anyone know how to resolve the SQL statement box being grayed out? 

 

TCunningham_0-1611089705784.png

 

2 ACCEPTED SOLUTIONS
themistoklis
Community Champion
Community Champion

@TCunningham 

 

What is the source you are connecting to? Maybe it has to do with this

View solution in original post

Hi  @TCunningham ,

 

Based on my test,if you have already loaded the data source,you cant directly add a query in current data source setting,as shown below:

v-kelly-msft_1-1611300704465.png

You'd better go to query editor,right click on the source settings on the right pane,then add the query inside :

v-kelly-msft_3-1611301816695.png

Finally you will see that the sql statement can be edited now.

v-kelly-msft_4-1611301872628.png

 

 

 

Best Regards,
Kelly

Did I answer your question? Mark my post as a solution!

View solution in original post

11 REPLIES 11
TCunningham
Regular Visitor

Hi @themistoklis 

 

I'm connecting via ODBC to DVT (Cisco Info Server)

@TCunningham 

 

If im not wrong this is a TIBCO isnt it?

 

Can you not use the native connector?

TIBCO.JPG

@themistoklis  My mistake; that is my connection. 

@TCunningham 

So have you tried the TIBCO connector with no luck?

@themistoklis  I have two queries using the TIBCO connection and I am able to refresh them with no issue. I need to make a small edit to one of them but the sql box is grayed out.

@TCunningham 

Have you tried going to Power Query Editor --> Select the Table you want --> Go to Source (first step) --> Right Click (Edit Settings)

There you will be able to see the query

I don't see an option for Power Query as I would in Excel

Hi  @TCunningham ,

 

Based on my test,if you have already loaded the data source,you cant directly add a query in current data source setting,as shown below:

v-kelly-msft_1-1611300704465.png

You'd better go to query editor,right click on the source settings on the right pane,then add the query inside :

v-kelly-msft_3-1611301816695.png

Finally you will see that the sql statement can be edited now.

v-kelly-msft_4-1611301872628.png

 

 

 

Best Regards,
Kelly

Did I answer your question? Mark my post as a solution!

@v-kelly-msft  That works! Thank you.

themistoklis
Community Champion
Community Champion

@TCunningham 

 

What is the source you are connecting to? Maybe it has to do with this

Sorry, I've been staring at this too long. I actually am using the ODBC connector as opposed to TIBCO. TIBCO doesn't allow me to paste my entire sql script. Seems to only allow a select *

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.