Forum Discussion
How to union dbase files into 1 query and also a custom column
Dear Sir,
Please guide me if using a custom connector and how to if via ACCDB
Thanks
Kana
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
Source
Thanks
Kana
- 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
- edhans6 years ago
Community Champion
Sorry, I am not clear exactly what "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." means.
- kana6 years ago
Helper I
Dear Sir,
My point is successfully using the script in sql statement to merge the dbase file into 1 query, the problem is I want a custom column. So I ask you whether you can custom column based on the folder path with the M language function code language?
Rgrds
Kana
- kana6 years ago
Helper I
Dear Sir,
Please give me solution.
Thanks
kana