Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Rolling 13 weeks average to update and replace with new data

Hi all,   I currently get a rolling 13 weeks file with updated sales each week split by category, subcategory and store. How do I upload these files each week to ensure that the latest file's data ...
  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi Anonymous ,

    Please have a try.
    Name the two excels with the same format and put them in the same folder.
    Steps in Power Query:

    1. Get data in desktop: enter the folder path.
    2. Filter the excel files you want based on the creation date or modification date.
    3. Expand content to get data.
    4. Get the latest data when refresh.

    More details; Automatically update data according to the date in the file name 

     

    Best Regards

    Community Support Team _ Polly

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.