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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Show FIlter values apllied via API in Report

Hi everyone,

I'm embedding a Power BI report in Java Web Application.  Date values are selected on an external filter by the end user and is passed to the Power BI report as a report level filter using the Javascript API.

I want to display the selected date range values on my report . But the problem with MIN and MAX is that the Dates in the external filter will be a greater range than that of in the dataset .

Eg . filter maybe selected from 1/1/2018 to 31/12/2018 ,but dataset may only contain dates from 1/3/2018 to 1/10/2018.
So the date range shown on the report will be different from that of the selected values.

Is there anyway for Power BI to read the values passed to it through the API ?



1 REPLY 1
v-chuncz-msft
Community Support
Community Support

@Anonymous,

 

You may try applying filters to calendar table in the dataset.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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