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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi @pankajtech__76 ,
Sorry, we can't use sql statement to query in Power Query. Actually, the M language is uesd in Power Query. Any transformation you apply will be written in M language. Please refer to
Basics of M: Power Query Formula Language - RADACAD
Quick tour - PowerQuery M | Microsoft Learn
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks Stephen
in future version of powerbi with azure databricks can support custom sql query?
Have you tried this manual:
https://learn.microsoft.com/en-us/azure/databricks/integrations/bi/power-bi#using-a-custom-sql-query
?
Yes,I have tried but facing same issue
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.