Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Is it possible multiple output files in Power query?

I  usually use Power Query inside Excel. Power query can use as an input many excel worbooks or tabs but I have not seen the reverse. i.e. any way to create as an output many workbooks or tabs from just one query. There's no M function "save query output as an Excel file".
The final transformations of my query are many filters in a column, and the output of each filter must be in a file in order to be emailed. When "close and load" you only generate one file...
Do you suggest any idea to accomplish this task? Many thanks in advance.

Maybe I could carry out the filters further with VBA... I wouldn't like a solution as to use R in Power Query, but I'm afraid it is the only solution. I would love to do all in Power Query!

3 Replies

    • Anonymous's avatar
      Anonymous
      Not applicable

      Thank  you for the answer and the link!! But just in one  of the comments on the Chris Webb page you sent to me there is a link with this suggestion "Export PowerQuery query to CSVhttps://excel.city/2018/06/export-powerquery-query-to-csv/   I wonder if it works  and why it depends of the IE settings.

       

       

      • Anonymous's avatar
        Anonymous
        Not applicable

        After reading all the links I accept the reply as a solution. The  other workarounds are far-fetched