Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hello - does anyone know how to resolve the SQL statement box being grayed out?
Solved! Go to Solution.
What is the source you are connecting to? Maybe it has to do with this
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:
You'd better go to query editor,right click on the source settings on the right pane,then add the query inside :
Finally you will see that the sql statement can be edited now.
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!
@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.
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:
You'd better go to query editor,right click on the source settings on the right pane,then add the query inside :
Finally you will see that the sql statement can be edited now.
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!
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 *
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 63 | |
| 51 | |
| 41 | |
| 23 | |
| 18 |
| User | Count |
|---|---|
| 130 | |
| 111 | |
| 48 | |
| 30 | |
| 28 |