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

How to build this script into a non-dynamic source? HELP

Hi there, I've been struggling with this particular script... in Power BI desktop it refreshes perfectly, but in Service I get the message that it includes a dynamic data source. I tried to make it static but everytime I got an error: This is the script that works in Desktop, but not in Service:

 

 

/

 

 

Does someone know how I should format it to be static? I tried RelativePath etc. for example:

 

 

/

 

 

 

/

 

 

I hope there is someone out there who can help me!

2 REPLIES 2
v-easonf-msft
Community Support
Community Support

Hi , @Gjakova 

You can check if this document help.

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

 

Best Regards,
Community Support Team _ Eason

 

amitchandak
Super User
Super User

@Gjakova , I doubt that & (concat) of string, can you revisit that

 

I think you are doing most the thing right.

https://blog.crossjoin.co.uk/2016/08/16/using-the-relativepath-and-query-options-with-web-contents-i...

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.