Forum Discussion

HaiVN's avatar
HaiVN
Helper III
1 year ago
Solved

Refresh error

Hello community, I have a Power BI repport  which gets data from a website. I can oppdatere data from the Repport ( desktop). When I publish it to the service and try to refresh the data I get err...
  • v-venuppu's avatar
    v-venuppu
    1 year ago

    Hi HaiVN ,

    Thank you for reaching out to Microsoft Fabric Community.

    Thank you ibarrau for the prompt response.

     

    Refreshing a report from the service with data directly from the web versus using a dataflow can have different implications due to the way data is handled and processed.

    • When you refresh a report that gets data directly from the web, the service needs to connect to the web source each time to fetch the latest data. This can be challenging due to various factors such as network latency, data source availability, and the complexity of the data transformations required. If the web source is slow or unreliable, it can cause the refresh process to fail or take a long time.
    • Dataflows are designed to handle data extraction, transformation, and loading (ETL) processes efficiently. When you use a dataflow, the heavy lifting of data transformations is done upstream, and the data is stored in a structured format that is optimized for quick retrieval. This means that when you refresh a report that uses data from a dataflow, the service can quickly access the pre-processed data, making the refresh process more reliable and faster.

    Here are some general steps to solve the issue :

    • When you connect directly to a web data source using Web.Contents(),ensure that the data source credentials are correctly configured in the Power BI Service. Navigate to the dataset settings and look for Data Source Credentials. Edit and update them if necessary.If there are any issues with the credentials, the refresh might fail.
    • If you are using direct web connections, consider installing and configuring an on-premises data gateway. This will act as a bridge between Power BI Service and the web data source.
    • Since dataflows are working well for refreshing data in the service, consider using dataflows for all web data sources. This approach can help manage and transform the data before it reaches the Power BI report, ensuring reliable refreshes.
    • Check for any network restrictions or security settings that might be blocking the connection from Power BI Service to the web data source. Ensure that the website is accessible from the Power BI Service environment.

    If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it! 

     

    Regards,

    Rama U.