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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.