📊Power BI: SharePoint List Item Version History

Поделиться
HTML-код
  • Опубликовано: 27 май 2024
  • In this video, we will see how we can bring the Version History of our SharePoint List Items from SharePoint into Power BI.
    To achieve that, first, we will connect to our SharePoint List. Then we will eliminate all the columns we do not need and keep only the ones we need. After having prepared our table we are going to use a custom query to invoke the Version History data from SharePoint into each and one of our item rows in the main table.
    The code for the Query Invoke can be found here since I cannot paste the code in the description due to character limits on RUclips video descriptions: community.fabric.microsoft.co...
    After that, we are going to invoke a custom function in our main table and use the query that we just created to call the SharePoint API and pass the information from each row into the API call to retrieve the version history for each row.
    Enjoy!
    0:00 Introduction to the topic of the video
    0:50 Introduction to the data source of the demo and the problem
    1:40 Showcasing how the result looks like
    2:13 Connecting to the data source
    3:15 Cleaning, formatting, and transforming the data
    6:35 Creating the new custom query
    7:00 Explaining the custom query M code
    8:37 Invoke a Custom Function
    9:36 Transforming the data from the custom function
    13:55 Comparing the result with the one on SharePoint
    15:12 Talking about working with complex/table-type columns
    16:40 Conclusion and closing
    If you want to learn more about Power BI, you are welcome to follow the channel and subscribe to the Power BI playlist here:
    • Power Automate & Share...
    Feel Free to follow me on other social media platforms as well:
    linktr.ee/EneaLicaj
    Buy me a pizza 🍕- bmc.link/enealicaj
  • НаукаНаука

Комментарии • 29

  • @bangerasiddharth
    @bangerasiddharth Месяц назад +1

    Getting the error: DataSource.Error: Web.Contents failed to get contents from ...... (404): Not Found.
    Could you please help?

  • @yoleus
    @yoleus 19 дней назад

    Hi, This solution results in a dynamic data source which cannot be refreshed by the Power BI service as a scheduled refresh. Is there a way around this?

  • @deborahjones6495
    @deborahjones6495 9 месяцев назад

    Your timing is perfect! Thank you for posting this! Great helpful content.

  • @jjactual9321
    @jjactual9321 9 месяцев назад

    absolute genius! Thanks for the video. Some things did look different as I was following through (not sure if we worked on different version of Power Query) but the process is the same!

    • @Enea
      @Enea  9 месяцев назад

      Thanks, happy it helped! Feel free to subscribe to the channel, it will help me as well :)

  • @user-ue2yq8ts4q
    @user-ue2yq8ts4q 5 месяцев назад +2

    This works fantastically on Power BI Desktop, but I'm having issues with credentials on a published version of the report on Power BI Service. Seems like the Web data source (from the Custom Function) isn't liking my organizational level credentials, even though the same settings are used on Desktop. Any ideas how to fix this? Breaks any scheduled restarts I've got set.

    • @teun9698
      @teun9698 4 месяца назад

      Did you find a solution? I'm runing into the exact same issue ..

    • @user-ue2yq8ts4q
      @user-ue2yq8ts4q 4 месяца назад

      Yes! On the published version, turn off Test Connection, and it works perfectly. I think custom functions can't be tested by Power BI service.@@teun9698

  • @ramshaq1
    @ramshaq1 6 месяцев назад

    Great vid. Thanks for sharing.

  • @sachaperret
    @sachaperret 6 месяцев назад

    Great Tutorial! Thanks a lot!

    • @Enea
      @Enea  6 месяцев назад

      Thanks! Subscribe for more if you like :)

  • @JesusAGonzalezM
    @JesusAGonzalezM 3 месяца назад

    This solution does not allow to refresh the report in PowerBi Services i guess this is due to the dynamic url. Any work around?
    "You can't schedule refresh for this semantic model because the following data sources currently don't support refresh:
    Data source for Query1"

  • @jordanhelus9598
    @jordanhelus9598 3 месяца назад +1

    Thank you for this video! I was planning on designing a changelog flow to record each change over time, but this should help avoid the additional build in power automate. As a question, when I try to run the custom function, my Version History table comes back as Error. Trying to invoke the function manually for testing, I get a response that the remote name couldn't be resolved. Do you have any suggestion as to how this can be fixed?

    • @Enea
      @Enea  3 месяца назад

      Hi! Maybe you wrote something wrong? Looks like its not finding anything

  • @Jacowduplessis
    @Jacowduplessis Месяц назад +1

    This helped me, thank you. Do you know where to get the modified by column? I can't seem to find it.

    • @Enea
      @Enea  Месяц назад

      Happy I could help! The modified by column is called "Editor"

    • @Jacowduplessis
      @Jacowduplessis Месяц назад

      @@Enea Great thank you. Last question, do you know how I can replicate the view in sharepoint to only show what column or data changed. In your example you can compare all versions and see what has changed but is it possible to have a summary view or a column that identified what changed between the versions? Same as the view in SP under version history.

    • @Enea
      @Enea  Месяц назад

      @@Jacowduplessis you want to have that view in SharePoint or in Power BI?

    • @Jacowduplessis
      @Jacowduplessis Месяц назад

      @@Enea I want to show in Power BI what column has been changed. In Sharepoint it is easy cause it shows you the version and what changed from the old version to the new one. I want to show the same thing in Power BI. I want to show all the changes that were made on a specific day. In order to do that I assume I need to compare the previous version with the current version and highlight the changes - unless there is data in the query that can already show me what columns where modified?

  • @user-zw2hl3pv8n
    @user-zw2hl3pv8n 20 дней назад +1

    I don't have ParentWebURL...?

    • @user-zw2hl3pv8n
      @user-zw2hl3pv8n 20 дней назад +1

      Oh weird, I had ParentList, I have to expand that, and then I had it in there... The way you show it in the video, it looks like it's in the items drop down, but you expand it and then expand again...

  • @Karenshow
    @Karenshow 6 месяцев назад

    do you show somewhere how do you built the function you copy and paste ? I don't see those steps.

    • @Enea
      @Enea  6 месяцев назад

      Read the video description

  • @yoleus
    @yoleus 5 месяцев назад

    Hi thank you for this video, it has been very useful and enabled me to extract version history to feed a Power BI report. I have hit a limitation however; the code you shared seems to return a maximum of 51 history records. Is there a way to override this and return either all history or all history to a specified date? Thank you so much.

    • @user-ue2yq8ts4q
      @user-ue2yq8ts4q 5 месяцев назад +1

      Check your List Settings within SharePoint, within a List top right cog and click List Settings. There's a setting for amount of versions to keep (per row I think).

  • @user-hh6ig4fm9b
    @user-hh6ig4fm9b 5 месяцев назад +1

    I dont have parent web url as mentioned in 4:06 . Is that step needed

    • @thamaraiselvam1773
      @thamaraiselvam1773 3 месяца назад

      Hi I too didn't see that option did you find the solution

    • @fabiofilho7660
      @fabiofilho7660 3 месяца назад

      Expand ParentList first