Forum Discussion

zameenakarmali's avatar
1 year ago
Solved

Data Source Power BI

Hi, 

 

I have a data source which has my sales data for the quarter. I make a copy of the file at the end of each week and month. 

The excel files have all have the same layouts, headers etc just the values are different. They are all being referenced in my Power BI file.

 

Is there a way I can create the data source without connecting to each file? Perhaps by using a parameter? 

 

thanks, 

 

8 Replies

  • Hi zameenakarmali 

     

    if I got you correct you have multiple excel files in a folder which shall be loaded into PBI. 
    In that case you can load the data by not choosing the files itself as a data source but the folder itself. Depending on the data structure you might clean the data (e.g. duplicates). 

    I hope this helps, if yes feel free to mark it as solution. 

    Best regards!

    • zameenakarmali's avatar
      zameenakarmali
      Helper I

      Hey, 

       

      Yes I have multiples excel files that are loaded., 

       

      Currently I have a folder saved as monthly which lists all the Files as 202507, 202508 etc.

      I have a weekly folder that saves the files under a folder for each month and the files are saved as  WE 08 08 25 ...

       

      I then have a live version of the file

       

      In my dashboard there is a monthly/ weekly and live view so I need to connect to all the files. 

       

      can you let me know if this can be done with a better solution

       

      • Mauro89's avatar
        Mauro89
        Super User

        Hi zameenakarmali,

         

        I thinks that's already a ok solution. If you have all your sales data in a single file and want to create the weekly an monthly extract of it you can also go the Power Query way to create new tables out of it. 

        Best regards.