Forum Discussion

boddydan's avatar
boddydan
Frequent Visitor
4 years ago
Solved

Error due to a query that doesn't exist

Hi everyone, I've successfully published my dashboard to the service and need to add my database credentials to view my visuals, however keep on getting the error: 'You can't schedule refresh for t...
  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi  boddydan ,

    This happens when the data source you used, within Power BI Desktop, isn’t supported for refresh. 

    dynamic data source is a data source in which some or all of the information required to connect cannot be determined until Power Query runs its query, because the data is generated in code or returned from another data source.  

     

    In most cases, Power BI datasets that use dynamic data sources cannot be refreshed in the Power BI service. There are a few exceptions in which dynamic data sources can be refreshed in the Power BI service, such as when using the RelativePath and Query options with the Web.Contents M function. Queries that reference Power Query parameters can also be refreshed.

     

    To determine whether your dynamic data source can be refreshed, open the Data Source Settings dialog in Power Query Editor, and then select Data Sources In Current File. In the window that appears, look for the following warning message, as shown in the following image:

    If that warning is present in the Data Source Settings dialog that appears, then a dynamic data source that cannot be refreshed in the Power BI service is present. For further information, you may refer to the following documents.

    Troubleshooting unsupported data source for refresh 

    Refresh and dynamic data sources 

    Query-contains-unsupported-function-Function-name-Web-Contents 

     

    Best Regards,

    Liu Yang

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.