Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Power Query - Excel - remove data before saving workbook

Hi, all!   Happy New Year. Thanks to everyone who has kindly supported me all these months!   One more question:    I am looking to dump data before saving a file so that I can reduce its file ...
  • Jimmy801's avatar
    Jimmy801
    6 years ago

    Hello Anonymous 

     

    what you could try is something like this
    - create boolean parameter

    - in the last steps of all your queries add a new step with an if-statement. in case the boolean is true hand over your real data, if its's false then only a empty table without any data, but with the correct columns

     

    in this way you would be able to change the parameter and to empty your complete data model

    What do think about it?

     

    Jimmy