Forum Discussion
What is the Transform File from Query doing?
After importing a Sharepoint Folder I got this new query showing on my queries list.
What is it doing?
I guess it has been created automatically?
Can I get rid of it?
9 Replies
- MarcelBeugCommunity Champion
It is not 1 query, but 4 queries that are grouped.
It contains the logic required to combine the files from your folder.
The set of queries is created automatically when chosing "Combine Binaries" in the column header of the column in the navigation table with the files in your folder, along with 4 additional query steps in your "Toggl" query.
You may get rid of it by converting the files to tables, using native functions like Csv.Document or Excel.Workbook, depending on the file types in your folder.
But why would you get rid of it? You can also collapse the group.
- AnonymousNot applicable
Thanks for explaining it MarcelBeug.
It is clearer to me now what is it trying to do.
I was trying to convert a local folder data source into a Sharepoint Folder one and am thinking that it is this Transform File Query that is preventing me from doing it since it references different query names.
Does this make sense?
- MarcelBeugCommunity Champion
If I understand your posts correctly, you only want to change the source from a local folder to a sharepoint folder, so basically, both folders have the same (type of) content.
If you go back to your working version (with the local folder), you need to adjust the source folder in 2 places:
1. In your main query (Toggl).
2. In query "Sample File".
That should solve your issue.
- AnonymousNot applicable
The toggl query was not created in my case. Maybe it is an update in the way Power BI Desktop does go about Transform file now. I checked this 09.01.2018 which is quite a long time after the original post.
- AnonymousNot applicable
This function is an improvement in recent Power BI Releases
more info https://docs.microsoft.com/en-us/power-bi/desktop-combine-binaries
Allow works in a group of files through just one function and make transformations in file combination automatically
- AnonymousNot applicable
UPDATE POWER BI DESKTOP AND GO THROUGH THE PROCESS AGAIN.
IT WILL BE ADDRESSED.