Forum Discussion
How to union dbase files into 1 query and also a custom column
You can see this article for creating a custom connector. You need to be more of a programmer though to really do this.
Dear Sir,
Please guide me if using a custom connector and how to if via ACCDB
Thanks
Kana
- kana6 years ago
Helper I
Dear sir,
I have a solution, Can you help if the custom column that I want is based on the folder path. So please help me in adding code in the advanced editor in the power query.
let Source = Odbc.Query("dsn=DBASE FILES", "Select * From C:\Test\mytest\m18\IFG.DBF Union ALL Select * From C:\Test\mytest\boj\IFG.DBF Union All Select * From C:\Test\mytest\md2\IFG.DBF"")") in SourceThanks
Kana
- edhans6 years ago
Community Champion
kana I'm not clear on your question. Can you post a screenshot of what the above code shows on your computer, and what your expected output is? I cannot test the code because I don't have dBase files nor the dBase ODBC driver.
- kana6 years ago
Helper I
Dear Sir,
As per your request I attached a screenshot of mine
From the code that I tried successfully, is it possible if I custom a column based on the path of the folder with the Code M language.
Thanks
Kana