Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.
I am using my database (mysql) for powerbi (not using any query for integration) but eveything in my database is in text, now when i am chaning datatype in power query, native query is not supporting those steps. How could i make it. Please assist in this.
Hi @umatripathi ,
There are some conversions that do not support collapsed queries, you can refer to this document for details on which steps to take:
Query folding - Power Query | Microsoft Learn
If you need to change the data type, consider doing this in the database before importing the data into Power BI.
Or as @Martin_D put it, please use "Advanced Options" and enter a SQL query when connecting to the database. You can write SQL statements to import data and perform data type conversion in SQL queries.
Best Regards,
Dino Tao
If this post helps, then please consider both of the answers to Accept it as the solution to help the other members find it more quickly.
If transformations are not folding and you would still prefer to execute them on the database server rather than in the Power Query engine, then you can put the native SQL query code into Power Query instead. The input field is in the Advanced options of the MySQL connector:
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.