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
jitpbi
Post Patron
Post Patron

Dynamic Date Selection in API

Hi,

 

My report's data source is web where i am getting data using APIs which seems like: 

https://www.xyz.com/api/rest/v1/entries 

In the report, I am using a datetime slicer (slicer type is between)  on a line chart visual. Now, when user select a date range from the slicer then API should pass the parameter for these inputs and give the data accordingly. 

I am struggling to do this, please suggest (step by step) how to do this.

 

Thanks

 

 

1 ACCEPTED SOLUTION
lkalawski
Resident Rockstar
Resident Rockstar

Hi @jitpbi,

 

From what I understand you want to connect to the API and every time the user changes the value of the slicer a request will be sent to the API to return new data.

Unfortunately, in Power BI for Web connector there is only import mode and schedule refresh options.

More information here:
https://community.powerbi.com/t5/Service/3rd-Party-API-with-Live-connection-refresh-on-each-request/...

 



_______________
If I helped, please accept the solution and give kudos! 😀

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @lkalawski 
Is this still the case, we have the exact problem

amitchandak
Super User
Super User

@jitpbi , I doubt you can pass parameter from slicer to backend API

 

refer: https://community.powerbi.com/t5/Desktop/parameterize-connection/m-p/205900#M90712

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
lkalawski
Resident Rockstar
Resident Rockstar

Hi @jitpbi,

 

From what I understand you want to connect to the API and every time the user changes the value of the slicer a request will be sent to the API to return new data.

Unfortunately, in Power BI for Web connector there is only import mode and schedule refresh options.

More information here:
https://community.powerbi.com/t5/Service/3rd-Party-API-with-Live-connection-refresh-on-each-request/...

 



_______________
If I helped, please accept the solution and give kudos! 😀

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.

March Power BI Update Carousel

Power BI Community Update - March 2026

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