Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi
Looking for help with a Power BI Service Refresh and a web API and the dynamic data source message.
The query is constructed as follows:
The function it calls at the step #"Added fAssetID" is constructed as follows:
Solved! Go to Solution.
Hi, @Richard_Halsall
The Power BI service needs a stable, predictable URL pattern to allow refreshes. When using dynamic URLs, especially URLs constructed with changed parameters, such as URLs in functions, Power BI may not validate or refresh the data source correctly.
Here are a few steps you can take to troubleshoot and potentially resolve this issue:
Make sure that the initial call uses a static URL that doesn't change. This is critical for Power BI to perform metadata discovery. If necessary, you can use a virtual URL that returns the JSON structure to a dynamic call for initial loading and metadata discovery.
Use the RelativePath and Query options, and instead of concatenating the URL directly with the parameters, use the Neutral option. This method is more friendly to dynamic URLs.
Review the Power BI gateway configuration. If you're using an on-premises data gateway, make sure that the gateway is properly configured for your data source. Since you're accessing a web API, the gateway may not be directly involved, but it's a good idea to check if other parts of the data model need it.
Check for unsupported functions. Refresh some M functions aren't supported in the Power BI service. Although supported, the way it is used, especially dynamic content, can sometimes cause problems. For more details, check out the documentation on data source limitations:
Troubleshooting unsupported data source for refresh - Power BI | Microsoft Learn
How to Get Your Question Answered Quickly
Best Regards
Yongkang Hua
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @Richard_Halsall
The Power BI service needs a stable, predictable URL pattern to allow refreshes. When using dynamic URLs, especially URLs constructed with changed parameters, such as URLs in functions, Power BI may not validate or refresh the data source correctly.
Here are a few steps you can take to troubleshoot and potentially resolve this issue:
Make sure that the initial call uses a static URL that doesn't change. This is critical for Power BI to perform metadata discovery. If necessary, you can use a virtual URL that returns the JSON structure to a dynamic call for initial loading and metadata discovery.
Use the RelativePath and Query options, and instead of concatenating the URL directly with the parameters, use the Neutral option. This method is more friendly to dynamic URLs.
Review the Power BI gateway configuration. If you're using an on-premises data gateway, make sure that the gateway is properly configured for your data source. Since you're accessing a web API, the gateway may not be directly involved, but it's a good idea to check if other parts of the data model need it.
Check for unsupported functions. Refresh some M functions aren't supported in the Power BI service. Although supported, the way it is used, especially dynamic content, can sometimes cause problems. For more details, check out the documentation on data source limitations:
Troubleshooting unsupported data source for refresh - Power BI | Microsoft Learn
How to Get Your Question Answered Quickly
Best Regards
Yongkang Hua
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Here is some threads that have same problem as yours
Search - Microsoft Fabric Community
Regards
Amine Jerbi
If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
19 | |
16 | |
15 | |
12 | |
11 |
User | Count |
---|---|
32 | |
25 | |
25 | |
19 | |
19 |