Archive old data to speed up SharePoint or OneDrive Folder refreshes in Power BI and Excel

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ธ.ค. 2024

ความคิดเห็น • 68

  • @Dave-lc3cd
    @Dave-lc3cd 2 ปีที่แล้ว +2

    I'm definitely sharing this channel. Amazing practical, no nonsense content. Thank you for the fantastic tutorials!

  • @Lyriks_
    @Lyriks_ 2 ปีที่แล้ว +2

    Wyn is probably the closest thing to an excel wizzard that I've ever came across, the guy literally does magic with a piece of software, well done.

  • @fzm280579
    @fzm280579 2 ปีที่แล้ว +1

    This tip with the starting folder to reference on is huge!

    • @AccessAnalytic
      @AccessAnalytic  2 ปีที่แล้ว +1

      Yeah that's a good one. Ken Puls (Skillwave) is a big proponent of that technique

  • @Marcus-iv2vi
    @Marcus-iv2vi 8 วันที่ผ่านมา +1

    Thank you for sharing this tip, I've been frustrated trying to find this solution.

    • @AccessAnalytic
      @AccessAnalytic  8 วันที่ผ่านมา

      I appreciate you taking the time to let me know you found it useful

  • @KhalidWaleed59
    @KhalidWaleed59 2 ปีที่แล้ว +1

    Thank for making such a valuable video, really like it. I had a similar problem, I have used the incremental refresh feature to address this. Since sharepoint isn't a foldable query source, we just need to add a Date/Time column before all the transformation and data collection step for it to work

    • @AccessAnalytic
      @AccessAnalytic  2 ปีที่แล้ว

      Thanks Khalid. An incremental refresh option is on on my video "to-do" list. Good one.

  • @GrainneDuggan_Excel
    @GrainneDuggan_Excel 2 ปีที่แล้ว +1

    Having an archive file would also help with the file and folder renaming issues when each FY is saved to its own folder system. Thanks for showing these various approaches! I have a fair few files I now need to review and tweak! Thank Wyn

    • @AccessAnalytic
      @AccessAnalytic  2 ปีที่แล้ว +1

      You’re welcome Grainne. Thanks for the ongoing support

  • @alexj8117
    @alexj8117 ปีที่แล้ว +1

    Just getting on board with dataflows now. Oh good, I'm only a year behind... Excellent video, as always.

    • @AccessAnalytic
      @AccessAnalytic  ปีที่แล้ว

      Don't worry, you're at least 5 years ahead of most!

  • @foodieguy4833
    @foodieguy4833 2 ปีที่แล้ว +1

    I've been using your videos in my work and the practical tips surely help! They are hard to find in the internet.

  • @jasonswami9275
    @jasonswami9275 8 หลายเดือนก่อน +1

    Very good techniques, visited few times this video. i liked the sharepoint.content, split folder, exporting via bravo, importing archive file and appending query

    • @AccessAnalytic
      @AccessAnalytic  8 หลายเดือนก่อน

      I appreciate you taking the time to let me know you found it useful

  • @pvbri
    @pvbri 10 หลายเดือนก่อน +1

    Very good solution, will definitely use the dataflows! Thanks!

  • @tigsik3128
    @tigsik3128 2 ปีที่แล้ว +1

    I just found your channel and its very helpful! thank you for your content.

  • @sherlock27
    @sherlock27 2 ปีที่แล้ว +1

    Thanks Wyn, very helpful and detailed tutorial.

  • @wayneedmondson1065
    @wayneedmondson1065 2 ปีที่แล้ว +1

    Great information Wyn! Thanks for sharing. Thumbs up!!

  • @mohamedfouad7958
    @mohamedfouad7958 2 ปีที่แล้ว +1

    Amazing, thanks a lot for your video. It helped me to resolve an issue I was facing to get data using sharepoint folders.

    • @AccessAnalytic
      @AccessAnalytic  2 ปีที่แล้ว +1

      Fantastic to hear, thanks for taking the time to let me know

  • @fizexbakar1986
    @fizexbakar1986 2 ปีที่แล้ว +1

    amazing video as always Wyn!

  • @khaledchowdhury1285
    @khaledchowdhury1285 2 ปีที่แล้ว +1

    We do that even with Oracle as we have over millions of records and historical years are slow. So we have one that refreshes daily, history parameters are updated once every quarter. So, this is pretty neat trick even beyond SharePoint. Also, if you leverage premium everything is done and ready in one place

  • @vinhwizard
    @vinhwizard ปีที่แล้ว +1

    Great, I learned much from this. Thank you so much

  • @imconfused1237
    @imconfused1237 2 ปีที่แล้ว +2

    Great video as always Wyn! Easily my favourite Power BI / Query sub 😊
    This is very timely, as I have a use case generating >25k rows of monthly data, with an archive requirement of 3yrs trend. Several constraints exist, primary being no SQL hence data source being SharePoint.
    I’m not sure whether DataFlow is enabled but if not, the CSV technique looks great. As you say, easy enough to perform that extraction in DAX Studio as well.
    Cheers Wyn and happy Easter! 🐣

  • @richardconley5343
    @richardconley5343 5 หลายเดือนก่อน

    When loading data, I would connect to the SharePoint site and then load the data. After loading the data, you can filter the folders in the right most column to find the folder you are looking for instead of changing to sharepoint.contents function.

    • @AccessAnalytic
      @AccessAnalytic  5 หลายเดือนก่อน +1

      Sticking with filtering (using SharePoint.Files ) results in a slower refresh. The more files and folders on your SharePoint site the longer your refresh will take using that method.

    • @richardconley5343
      @richardconley5343 5 หลายเดือนก่อน +1

      @@AccessAnalytic thanks for that info

  • @mabenba
    @mabenba 2 ปีที่แล้ว +1

    This is amazing. I am having the exact same problem as you stated. Receiving several files every day, it takes almost 20 minutes to refresh the data as the project is growin larger.
    Thank you so much for sharing! Amazing the data flow solution!!
    Is there a way to automate the process? for example to take the last five files in the desktop and everything but the last 5 in the data flows?

    • @AccessAnalytic
      @AccessAnalytic  2 ปีที่แล้ว +2

      Thanks, you could potentially filter on modified date, it’s a bit risky though, plus you’d still need to refresh the dataflow each time so not really worth it ( I don’t think). I’d just set up a separate folder for the data flow source and put the files in there occasionally and refresh. You could use power automate to trigger the data flow refresh as soon as files are added into the folder

    • @mabenba
      @mabenba 2 ปีที่แล้ว +1

      @@AccessAnalytic thanks for your response. I was thinking about using power automate to make the transition between folders every ten days or so. I made a copy of my desktop file, given the fact that I have too many queries to copy, and with this copied pbix, I made the same think you made in dataflows but with desktop and publishing the new dataset. Thanks for the inspiration!

    • @AccessAnalytic
      @AccessAnalytic  2 ปีที่แล้ว +1

      No worries

  • @UlyssesHaq
    @UlyssesHaq 2 ปีที่แล้ว +1

    Tremendous again Wyn. Diolch yn fawr always.
    Question: the CSV download of tables with Bravo. Does that export the table as it appears in PowerQuery, or is it the table from the model, PowerBI front end, including any calculated columns etc?

    • @AccessAnalytic
      @AccessAnalytic  2 ปีที่แล้ว +1

      Diolch, it will be the data model and pretty sure it will include calculated columns.

  • @baskis69
    @baskis69 2 ปีที่แล้ว +1

    Thank you for sharing. As always very helpful¡¡¡¡

    • @AccessAnalytic
      @AccessAnalytic  2 ปีที่แล้ว

      You’re welcome arnau, thanks for the kind comment

  • @ivancuadros8731
    @ivancuadros8731 ปีที่แล้ว

    I just saw that in minute 4:08 some transformations are done, but it look you edited because it does not show how you handled the custom function. In my case I do a lot of transformations before is ready to combine tables.

    • @AccessAnalytic
      @AccessAnalytic  ปีที่แล้ว

      Hi, no editing, the helper functions get auto created. Take a look at my explanation here : th-cam.com/video/nPlrQUbEn4o/w-d-xo.html

  • @Folisaa
    @Folisaa 2 ปีที่แล้ว

    What a great video! The first approach, appending historical data in PQ. When working with large datasets, it still takes a long time to load that historical data with every refresh (we disable it in it's own query, but it's being pulled through appended table). Is there a way to load historical data once, and then disable it for future refreshes? Maybe skipping Appending part would help, but then table with historical/current data is split into two tables...

    • @AccessAnalytic
      @AccessAnalytic  2 ปีที่แล้ว +1

      With files / folders it will always pull all data in each time. Gilbert has a blog article that I’ve never tried out www.fourmoo.com/2020/06/10/how-you-can-incrementally-refresh-any-power-bi-data-source-this-example-is-a-csv-file/

    • @deepakagrawal465
      @deepakagrawal465 ปีที่แล้ว

      @@AccessAnalytic If it is pulling all data each time then how it is doing it quickly vs one single query ? I have also faced this problem with appending queries but it did not solve the issue of heavy refresh time. Using append with DAX is the solution I ended up doing after loading both the queries in the model and disabling refresh on historical data query. Would be really interesting to know how your method is reducing the refresh time and if it will be applicable to large data files as well using append query method ?

    • @AccessAnalytic
      @AccessAnalytic  ปีที่แล้ว

      I’ve not tried Gilbert’s approach so I’m not sure. DAX append sounds an interesting approach

    • @deepakagrawal465
      @deepakagrawal465 ปีที่แล้ว +1

      @@AccessAnalytic We have been using DAX append for several years now. Though it bloats the model a bit but refreshes are lightening fast....

  • @osielgutierrez7837
    @osielgutierrez7837 2 ปีที่แล้ว

    hello Wyn, do you get the same performance if you do it from onedrive?. Thaks

    • @AccessAnalytic
      @AccessAnalytic  2 ปีที่แล้ว

      Hi Osiel, you should do. One Drive is your personal SharePoint

  • @wmfexcel
    @wmfexcel 2 ปีที่แล้ว +1

    This is to echo your approach. As i did that in my work and it saved really lots of refreshing time. (there are 100+ files with more than 10M rows of records).
    Ideally, incremental refresh should be the best way in my opinion... however, I just do have that in my workspace... :(
    So this technique is a good alternative in real life.

    • @AccessAnalytic
      @AccessAnalytic  2 ปีที่แล้ว

      Thanks for the confirmation

    • @wmfexcel
      @wmfexcel 2 ปีที่แล้ว +1

      @@AccessAnalytic just to add one point. It works well when original data files are Excel. If original data files are already CSV, it won’t make a big difference (at least in my case).

    • @AccessAnalytic
      @AccessAnalytic  2 ปีที่แล้ว

      @@wmfexcel OK, thanks

  • @kassiowifried
    @kassiowifried 2 ปีที่แล้ว +1

    Thank you

  • @skysenses
    @skysenses 2 ปีที่แล้ว

    it throws up error when consolidating sheets. Error - we didn't recognize the format of the first file(). Please filter the list of files so that it contains supported type. However if we use the files instead of content, this works. Any suggestion?

    • @AccessAnalytic
      @AccessAnalytic  2 ปีที่แล้ว

      Not come across that. Is it purely .xlsx files in the folder?

  • @chenyvonne8205
    @chenyvonne8205 2 ปีที่แล้ว

    Could you please share how to resolve "combine files --didn't recognize the format"? My files are all xlsx but it failed to upload in Power BI Query

    • @AccessAnalytic
      @AccessAnalytic  2 ปีที่แล้ว +1

      I’d suggest posting some screenshots and explanations here aka.ms/excelcommunity for some help on that