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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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


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!


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.




Helpful resources


Fabric certifications survey

Certification feedback opportunity for the community.


Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors