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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Krunalbpatel
Helper III
Helper III

Adding custom date filter in power bi custom visuals

Hi,

 

I am developing Custom Visuals for Power BI report. I want to add custom date filter from the report UI. I want that it will filter the report data based on date selection on the report section. Power BI provide the default date filter but I want to add custom textbox and user will enter the date and based on that date report will be filter.

 

How can I add this in my custom visuals?

 

Can you please suggest me how to do this.

5 REPLIES 5
v-chuncz-msft
Community Support
Community Support

@Krunalbpatel,

 

This could be a challenge for custom visual. You may check if a slicer works, it is an alternate way of filtering.

Capture.PNG

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.

Hi @v-chuncz-msft,

 

Yes, I know the slicer filter and that is I have already used in my report. But I want that I have a custom date picker control to select 2 dates. So is it possible or not. I know that it is a chanllenge. But Can It be possible to develop this kind of visual?

 

Regards,

Krunal Patel

@Krunalbpatel

Hi krunal did you developed Date Range Picker Custom visualization , If so i have some doubt in my code can you please help me??

 

Thanks

 

Its Very much helpful for me if you reply please

v-viig
Community Champion
Community Champion

I suppose that you should use Advanced Filter API to implement filtering in your own custom visual (example, usage doc).

 

Please let me know if that meets your requirements.

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

@Krunalbpatel

In Sam's case, you can enter two dates instead of picking them on the calendar, so it should be possible. 

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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

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.