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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
ravi_raval
Regular Visitor

How to set Preset filter on comparisons line chart?

I have created a comparison line chart report to show previous date data on my line chart. now I want to set the preset filter on this line chart how can I do it? I want to add preset filter values like Yesterday, last 7 days, Last 30 days, Last 3 months, Last 6 Months, Last 1 Year, etc. Below is the SC of my created report for your reference.

ravi_raval_0-1708935141363.png

Please help me to set this values on my report.
Thank You.
Ravi Raval

1 ACCEPTED SOLUTION

Hi @ravi_raval 

You can use filter when going to save the bookmark in filter pane

PijushRoy_0-1708948810372.png

 

If your requirement is solved, please mark THIS ANSWER as SOLUTION

 

View solution in original post

5 REPLIES 5
ravi_raval
Regular Visitor

Thank you for your quick response

Yes, It's working for me but I want to set the preset filter as per the below screenshot.

is it possible for the same?

ravi_raval_0-1708941265514.png

 

 

 

Hi @ravi_raval 

What is the criteria for Custom date
Also client may ask you for more dropdown in future

So it is always better to convey this message and make the dynamic slicer as I shared in my last comment.

Alternative way, you can filter the data and create as Bookmark for all 5 option. Then use the bookmark as Button in report.





Let me know if that works for you


If your requirement is solved, please mark THIS ANSWER as SOLUTION ✔️ and help other users find the solution quickly. Please hit the Thumbs Up 👍 button if this comment helps you.

Thanks
Pijush
Linkedin

So How can give a custom date range in this filter? 

Hi @ravi_raval 

You can use filter when going to save the bookmark in filter pane

PijushRoy_0-1708948810372.png

 

If your requirement is solved, please mark THIS ANSWER as SOLUTION

 

PijushRoy
Super User
Super User

Hi @ravi_raval 

In slicer, use date field and enable Relative Date option
where user can enter any number of date and use the filter

PijushRoy_0-1708936361261.png

PijushRoy_1-1708936451035.png

 

 


Let me know if that works for you


If your requirement is solved, please mark THIS ANSWER as SOLUTION ✔️ and help other users find the solution quickly. Please hit the Thumbs Up 👍 button if this comment helps you.

Thanks
Pijush
Linkedin

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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