Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Gjakova
Post Patron
Post Patron

Questions about refresh and dynamic data sources

Can someone give me perhaps some clarification on the following? https://docs.microsoft.com/en-us/power-bi/connect-data/refresh-data#:~:text=In%20most%20cases%2C%20P....

I'm getting this message and according to the documentation I read, there is no way to set up a refresh?

My questions are:
1. Is it only when you want to set up a scheduled refresh? Does a manual one work?

2. Is there a way to work around this using RelativePath etc. (what I read in the documentation)

2a: Does the workaround always work or only some certain sources?

Thanks in advance 😉

Gjakova_0-1600947595710.png

 

 

1 ACCEPTED SOLUTION
nickyvv
Community Champion
Community Champion

Thanks @Gjakova, for the prompt reply.

 

The 2nd link to Chris Webb's post should help you.

You'll especially have to adjust this URL to become static (so don't use parameters in the base URL) as Chris mentions:

     url=#"HR2day URL"&"/services/apexrest/hr2d/elektricity?wg=KEY123~KEY345~KEY678",

 

On another note: I see you are using the SalesForce API, you could also use one of the built-in Salesforce connectors, I assume you want to use the Salesforce Reports connector.

image.png



Did I answer your question? Mark my post as a solution!

Blog: nickyvv.com | @NickyvV


View solution in original post

3 REPLIES 3
nickyvv
Community Champion
Community Champion

Hi Gjakova,

1. this limitation is indeed only for the service.
2. Can you elaborate more on what you are using? Can you share the M code or at least the data source you have?


Did I answer your question? Mark my post as a solution!

Blog: nickyvv.com | @NickyvV


Hi @nickyvv thanks for your comment.

Due to it being private data, I made it anonymous. Here is the link to my script: /

 

I read the following blogs:

http://blog.datainspirations.com/2018/02/17/dynamic-web-contents-and-power-bi-refresh-errors/

https://blog.crossjoin.co.uk/2016/08/23/web-contents-m-functions-and-dataset-refresh-errors-in-power...

But since I never worked with these types of API's and since this dashboard was developed by someone else, I am having a hard time understanding it. Hope you can help!

nickyvv
Community Champion
Community Champion

Thanks @Gjakova, for the prompt reply.

 

The 2nd link to Chris Webb's post should help you.

You'll especially have to adjust this URL to become static (so don't use parameters in the base URL) as Chris mentions:

     url=#"HR2day URL"&"/services/apexrest/hr2d/elektricity?wg=KEY123~KEY345~KEY678",

 

On another note: I see you are using the SalesForce API, you could also use one of the built-in Salesforce connectors, I assume you want to use the Salesforce Reports connector.

image.png



Did I answer your question? Mark my post as a solution!

Blog: nickyvv.com | @NickyvV


Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors