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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi ,
Can you please suggest me how to convert/change the data source connection from DB2 to ODBC of an existing report in PBI desktop.
Thanks in advance !
Solved! Go to Solution.
Hi @Anonymous ,
Here is explanation how to connect via odbc: https://community.powerbi.com/t5/Community-Blog/How-to-Connect-to-an-ODBC-Data-Source-From-Power-BI/ba-p/960701
If data is the same as it was in DB2, you can copy generated M query and paste it into the advanced query of original query. It number of columns and column names are the same, it will work smoothly. Otherwise, you will need to make aliases or existing calculations will fail.
Below is Advanced editor option in Power Query.
Regards,
Nemanja Andic
Hi @Anonymous ,
Here is explanation how to connect via odbc: https://community.powerbi.com/t5/Community-Blog/How-to-Connect-to-an-ODBC-Data-Source-From-Power-BI/ba-p/960701
If data is the same as it was in DB2, you can copy generated M query and paste it into the advanced query of original query. It number of columns and column names are the same, it will work smoothly. Otherwise, you will need to make aliases or existing calculations will fail.
Below is Advanced editor option in Power Query.
Regards,
Nemanja Andic
Thanks so much Nandic for your prompt response . Will try as you suggested and let you know if we see any issues.
Thanks again !