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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

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
May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.