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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

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!

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.

Top Solution Authors
Top Kudoed Authors