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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
sbahugu2
Helper I
Helper I

filter data source using visual selection change

Hi All,

          I have a power BI report which fetches data from an API. API has a date range and for each day data is added to data source from which API is returning data.

 

I dont want to load all the data in Power BI and then apply slicer or filter. Is there any way I can call the API at run time with user selected date range and loads only data which is required ?

3 REPLIES 3
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @sbahugu2,

 

I'm afraid it's hard to select the range in a slicer or a filter. But the parameter could be helpful. Please refer to this post. When we change the value of the parameter, new data will be fetched.

 

 

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.

Hello thanks for the reply.

 

Using parameters have few limitation in my case:

 

1) parameters are limited to PBI desktop only and so not work with service or published report.

2) Every time there is change required in parameter values we need to publish the report again with refreshed data set and so its not good idea

Hi @sbahugu2,

 

I'm afraid there isn't a better way for now. I would suggest you vote up this idea or create a new one.

 

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.

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.