How to refresh Power BI Dataset from a ADF pipeline?

Sdílet
Vložit
  • čas přidán 29. 07. 2024
  • Join this channel to get access to perks:
    / @biconsultingpro
    How to refresh Power BI Dataset from a ADF pipeline?
    In this video, you'll learn how can you refresh a Power BI Dataset using Azure Data Factory pipelines. This will be a significant step towards achieving data driven architecture.
    Power BI Dataset Refresh API: learn.microsoft.com/en-us/res...
    ADF Tutorial: • Azure Data Factory | A...
    Service Principal in Azure: • What is Azure Service ...
    More tutorials:
    *****************Free Video Tutorials*************
    * PL-300 Sample Questions Answers: onedrive.live.com/edit.aspx?r...
    * DP-203 Complete Tutorial - • DP-203: Data Engineeri...
    * Power BI Tutorial for Beginners: • How to get started wit... ​
    * Power BI Interview Questions: • Power BI Interview Que...
    * Power Query Tutorial: • What is Power Query? H...
    * Free Power BI Admin Tutorial: • How to use Power BI ad...
    * Free Azure Data Factory Tutorial: • Azure Data Factory | A...
    * Free Azure Databricks Tutorial: • Data Engineering with ...
    * Free Power BI Synapse Analytics Tutorial: • Microsoft Azure Synaps...
    * Data Modeling Tutorial: • What is Data Modeling?...
    * Azure Analysis Services Tutorial: • What is Azure Analysis...
    * Power BI Service Tutorial: • What is Power BI Servi...
    * Free DAX tutorial: • Complete DAX Course - ...
    * Field Parameters in Power BI: • May 2022 Power BI Upda...
    * Optimize Power BI Performance: • How to optimise Power ...
    * Send an e-mail alert to anyone: • How to send an Alert E...
    ************************************************************************
    ☎️ LET'S CONNECT!
    ************************************************************************
    📺CZcams: / @biconsultingpro
    🧰LinkedIn: / biconsultingpro
    🐥 Twitter: / biconsultingpr1​
    📱 Instagram: / biconsultingpro
    ➥ Facebook: / biconsultingpro
    🧑‍💻 Website: www.biconsultingpro.com

Komentáře • 31

  • @sudipnarayanchoudhury1112
    @sudipnarayanchoudhury1112 Před 2 měsíci +1

    But how to schedule this refresh automatically once the dataload is completed. Can you please show us with a video

  • @prateekbhatt6204
    @prateekbhatt6204 Před rokem +1

    Very Informative..Nice

  • @enesteymir
    @enesteymir Před rokem +1

    thanks a lot, ı followed steps and it worked

  • @ifernandoubbi
    @ifernandoubbi Před rokem

    Hi, very good video.
    Is it possible to add an XMLA script with parameter to process old partitions in a fact table?

  • @anirudhnagrath7267
    @anirudhnagrath7267 Před měsícem

    Can you please also elaborate on scaling this solution when working with Partitioned tables. can we refresh a certain partition of a table using this method?

  • @swapnab4453
    @swapnab4453 Před rokem +1

    Planning to shift from import mode to direct query - Aws rds postgresql data , to avoid refreshing datasets and to offer portal to customers with live data . Do you see any disadvantages /hiccups here ?

    • @BIConsultingPro
      @BIConsultingPro  Před rokem +1

      Check the limitations of Direct Query and also the performance of your data model. It should be optimised otherwise you’ll encounter a lot of problems.

  • @ShahidShaikh-bg5uy
    @ShahidShaikh-bg5uy Před rokem +1

    is that possible to run the pipeline dynamically or schedule refresh against the manual run

    • @BIConsultingPro
      @BIConsultingPro  Před rokem +1

      Yes, it’s possible and this is what is a even driven data architecture. As soon as data load completes, this would run automatically.
      Also, this can be parameterize.

  • @NadimpalliKrishnamohan-if5cx

    Hi Our Azure services and power bi are in different tenants. Is it possible to refresh from Adf to power bi , if they are in different tenants

    • @BIConsultingPro
      @BIConsultingPro  Před rokem

      Yes, it is possible to refresh data from Azure Data Factory (ADF) to Power BI, even if they are in different Azure tenants. Azure Data Factory supports cross-tenant data movement and data integration scenarios.

  • @sanketchakane7745
    @sanketchakane7745 Před 2 měsíci

    how to connect to PBI report and copy the data from PBI report from one of the visual to the flat files

    • @BIConsultingPro
      @BIConsultingPro  Před 2 měsíci

      If you just need to download data from any visuals, simply click on three dots and click export data.

  • @paulgallagher2987
    @paulgallagher2987 Před měsícem +1

    This is very helpful thankyou.
    Our Datasets are fed by Dataflows. If we use the same principle but using the Refresh Dataflow API, how can we then have the Refresh Dataset activity triggered only once the DF refresh is complete?

    • @BIConsultingPro
      @BIConsultingPro  Před měsícem

      Yes, you can use dataflows in a ADF pipelines

    • @BIConsultingPro
      @BIConsultingPro  Před měsícem +1

      Thank you for your question! I'm glad you found the video helpful.
      To trigger a dataset refresh only after the Dataflow refresh is complete, follow these steps:
      Trigger Dataflow Refresh: Use the Refresh Dataflow API in an Azure Data Factory (ADF) Web activity:
      POST api.powerbi.com/v1.0/myorg/groups/{groupId}/dataflows/{dataflowId}/refreshes
      2. Monitor Refresh Status: Poll the Dataflow refresh status using another Web activity:
      GET api.powerbi.com/v1.0/myorg/groups/{groupId}/dataflows/{dataflowId}/refreshes
      3. Conditional Execution: Use the status check output to trigger the dataset refresh once the Dataflow is complete.
      Trigger Dataset Refresh: Use a Web activity to refresh the dataset:
      POST api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets/{datasetId}/refreshes
      you can use Dataflow as an activity in your ADF pipeline.

    • @paulgallagher2987
      @paulgallagher2987 Před měsícem

      @@BIConsultingPro
      Wow!! Thank you so much for such a quick and detailed response. I really appreciate your help!
      Lets hope the execs appreciate getting their reports earlier in the morning too! :D

  • @adityapratapsingh4480

    Hi I am getting the error
    {"error":{"code":"ItemNotFound","message":
    "Dataset is not found!
    please verify datasetId is correct and user have sufficient permissions."}} ,is i am missing something ?

    • @mikkelharbo5087
      @mikkelharbo5087 Před 11 měsíci

      I get the same error, have you had any luck in fixing this?

  • @vidyakanmus9318
    @vidyakanmus9318 Před rokem +1

    Thank you so much for this, this helped me to trigger the automatic refresh of powerBi dataset after my pipeline run, now I want to send automated email if the powerBi dataset has been successfully refreshed or failed, how do we do that?

    • @BIConsultingPro
      @BIConsultingPro  Před rokem

      Congratulations!! You can use Azure Logic App and can call a Logic App in your Pipeline.

    • @vidyakanmus9318
      @vidyakanmus9318 Před rokem

      Thank you for the quick response:) However, Will my logic App be able to read the success status of powerBI dataset refresh??
      Because when added ‘powerBI dataset refresh’ activity at the end of my pipeline it called for dataset refresh and next we don't know if the refresh has been successfully or failed right?

    • @BIConsultingPro
      @BIConsultingPro  Před rokem

      @@vidyakanmus9318 I'll suggest you to try it and once you try and get failed. Please do some research. If you don't get answer, then write us at connect@biconsultingpro.com with your findings, and we will help you.

    • @vidyakanmus9318
      @vidyakanmus9318 Před rokem

      Sure, thank you !! Appreciate your help :)

  • @shankarnarayanan24
    @shankarnarayanan24 Před 10 měsíci

    Can we use the same process with service principle??

    • @BIConsultingPro
      @BIConsultingPro  Před 10 měsíci

      Yes, absolutely

    • @shankarnarayanan24
      @shankarnarayanan24 Před 10 měsíci

      Also instead of allowing SP to use Power BI APIs uneer Developer settings.. can we enable allow SP to use read-only admin APIs under Admin API settings??

    • @shankarnarayanan24
      @shankarnarayanan24 Před 9 měsíci

      Also if my workspace isn’t V2.. won’t it work?? If not this way, is there any other way to refresh such workspace from adf??

    • @shankarnarayanan24
      @shankarnarayanan24 Před 9 měsíci

      This works on datasets but fails on dataflows.. not sure why..