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
Nandhini_RPA
Regular Visitor

How to update Power BI Report slicer value via API call?

Hi,

I could see the API calls for Get Report and Refresh Report. I need the API call to update the slicer value (date range) before refreshing the report.

 

Nandhini_RPA_0-1712581573621.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @Nandhini_RPA,

Perhaps you can take a look at the following links about use JavaScript API to change report and visual filters if they suitable for your requirement:

Use filters when embedding a report in Power BI embedded analytics | Microsoft Learn

The Visual Filters API for better embedded BI insights - Power BI | Microsoft Learn

Regards,

Xiaoxin Sheng

View solution in original post

1 REPLY 1
Anonymous
Not applicable

HI @Nandhini_RPA,

Perhaps you can take a look at the following links about use JavaScript API to change report and visual filters if they suitable for your requirement:

Use filters when embedding a report in Power BI embedded analytics | Microsoft Learn

The Visual Filters API for better embedded BI insights - Power BI | Microsoft Learn

Regards,

Xiaoxin Sheng

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.