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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
PowerRon
Post Patron
Post Patron

Parameterize start-date and end-date of Power BI API call

Hi,

 

I have this API call

 


It uses a startdate and enddate. 
This call is input for a Power BI dataset.

What I want is this API call to behave like an incremental refresh on a fact table.
I know how to configure an incremental refresh on a fact table, but how do I do it for this API call?
Changing this
'&startdate=2024-01-01&enddate=2024-01-02'
into this
'&startdate>=2024-01-01&enddate=2024-01-02' gives an error.

So question is:

How do I parameterize startdate and enddate in the API call, so it will add the new data to my Power BI dataset?

Regards
Ron

 

1 REPLY 1
amitchandak
Super User
Super User

@PowerRon , use this function on URL and then try

Uri.EscapeDataString
Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors