Forum Discussion
Extracting data from same Excel template files
- 7 years ago
Anonymous then what you should do is get data from a folder and not an individual file in your getdata method, apply all those steps once you have done a combine (as long as they all the same, it will copy the first file format)
that way you can apply it to multiple files or if you dont want to combine them, then i suggest creating a source parameter that you can create on one and copy and paste in all, or a function
combine : https://www.youtube.com/watch?v=RAmSdxt863s
functions/parameters: https://www.youtube.com/watch?v=GgwXt4LVmsU
Anonymous its a bit difficult to help without access to date, however this video is quite useful in understanding how to move complex excel data into a userable format, at least here you will learn some strategies
- Anonymous7 years agoNot applicable
Dear vanessafvg,
Many thanks for your quick reply. The video shows me something which I already did and is only on an example of one file that needs adjustment.
I would like to highlight something that I obviously did not in my original post and that is that I managed to clean one file through Query editor in Power BI exactly as I want it. As well, I was able to Pivot it and changed it from the bottom-up and transferred these items as my column names.
However, I still have 188 files left with this type of sheet. However, each file has 6 sheets so I would have to do same steps as I did for the one I have now for the rest and that makes it hours or even days of work. I think it took me around 15-20 steps in Query editor to clean my data on the sheet I use only on one file...- vanessafvg7 years agoCommunity Champion
Anonymous then what you should do is get data from a folder and not an individual file in your getdata method, apply all those steps once you have done a combine (as long as they all the same, it will copy the first file format)
that way you can apply it to multiple files or if you dont want to combine them, then i suggest creating a source parameter that you can create on one and copy and paste in all, or a function
combine : https://www.youtube.com/watch?v=RAmSdxt863s
functions/parameters: https://www.youtube.com/watch?v=GgwXt4LVmsU
- Anonymous7 years agoNot applicable
Dear vanessafvg,
Thank you for your assistance. The function/parameters video got me close, I did had a feeling it is on the good way to solve but in the end, did not work. That was the way I thought it would be possible to solve it but did not work.
I will dig deeper into it and in case I find a feasible solution, share it here.