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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
Memorable Member
Memorable Member

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
chumalivingston
New Member

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

lkalawski
Memorable Member
Memorable Member

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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