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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Lixarius
New Member

Dynamic Date within source for Power BI Report Server automated refresh

Hello,

I am currently facing an issues where we can pull from API only last 4 months of data based on current month.

There is no possibility to change it within application, so I have to work somehow with dynamic dates for automated daily refresh.

However the main issue is the error:

[0] -1056505856: This report contains dynamic datasources, which cannot be refreshed in Power BI Report Server.

I've tried using a solution provided within topic below, but I've noticed that once Current Value for parameter is set, it doesn't change along with date (or it's just me doing something wrong):
https://community.powerbi.com/t5/Desktop/Daily-data-refresh-from-the-same-file/m-p/1610734


Here is my current query, that works for manually within Power BI Desktop but not for Report Server automated refresh (error is not showing up anymore, but date within parameter is not being refreshed):

let
Source = Json.Document(Web.Contents("...URL..." & #"Parameter1"))
in
Source

My parameter is based on list as per mentioned previously solution from other thread:

Lixarius_2-1673609073795.png

And this is my parameter:

Lixarius_3-1673609118275.png

 

Can anybody provide me with solution or advise over this problem?

Any support will be highyl appreciated.

Kind regards

 

1 REPLY 1
Daryl-Lynch-Bzy
Community Champion
Community Champion

Hi @Lixarius  - you need to use the Relative Path or Query feature of Web.Contents to run the queries in the Web Service.  Please watch this video by Chris Webb/RADCAD - around 26-27 minute he explains the issue and resolve it.

 

Accessing API and web service data using Power Query - by Chris Webb - YouTube

 

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.