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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
bhatnaam
Regular Visitor

Dynamic REST Call on slicer selection

Hi All,

 

I need help for the following problem - 

 

A dashboard is required in Power BI where, initially, the data should be fetched based on default parameters using a REST API Call (Custom Azure service written by us for the client) and the dashboard must be populated.

 

This dashboard will have Date Filters, so whenever the user changes the filter the API will be called with the Date values from the slicer as query parameters and the data must be fetched into Power BI dashboard.

 

We need this in a shared enviroinment (Power BI Service) or in Web published dashboards

 

I have seen many exmples of REST API in Power BI but could not get a concrete solution.

 

Please help

2 REPLIES 2
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @bhatnaam,

 

Maybe I don't get your point. Let's find out more.

Power BI already support many kinds of data source. Usually the datasets of a dashboard can connect to online services or on-premise data through a Gateway, without REST api. 

1. In your scenario, we can connect to the source data using DirectQuery, which is a live connection.

2. Or do you mean: one dashboard is there, and other dashboard take it as source?

 

Best Regards!

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Dale,

 

Let me try to answer you - 

 

1) I understand Direct Query but I need to format data in Power BI, so cannot use it. Its for a POC so put effort to change backend format accoridngly.

 

2) Its like calling the API post I filter on dashboard. For example, my dashboard wiull have date fields - Month, Quarter, Year. By default when the dashboard displays data for Mon = January, Qtr=1 and Year = 2017. Now, the user will change these filters to Mon=Feb, Qtr =1, Year = 2017, then the API must the called again to fetch data for this selection (dates will be passed in query paramters) and dashboard must be updated accordingly. I need to do this with API only as that is a business requirement.

 

Hope this replies to your queries, let me know if you need anyting more.

 

Regards

Aman 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.