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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
miguelp06
Frequent Visitor

Filter or selection

Hi all,

 

I have data from 8 years. Need to add 3 bottons (for example) for:

  • Last 5 years
  • Last 3 years
  • Actual year

Anyone can help?

Thanks

Miguel

2 ACCEPTED SOLUTIONS
PijushRoy
Super User
Super User

Hi @miguelp06 

Hope you have calender/datetable/year in your dataset.
You can implement 2 approach

Bookmark
Apply Year filter at Page level or visual level for 5 years, create a Bookmark
Apply Year filter at Page level or visual level for 3 years, create a Bookmark
Apply Year filter at Page level or visual level for 1 years, create a Bookmark
Create 3 button and assign the bookmark in Action

Tab
Create separate page for 5 years, 3 years, and current year
Create 3 buttons and assign the page navigation in Action

If solve your requirement, please mark the comment as SOLUTION

Thanks
Pijush





Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





View solution in original post

zenisekd
Super User
Super User

@miguelp06  I would also consider using "Relative date" style of the date slicer. You have to do few more clicks, but gives you more options and less work and administration.

zenisekd_1-1703151418501.png

 

zenisekd_0-1703151342577.png

Kudos and mark as solution appreciated 🙂

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hi @miguelp06 ,

 

Could you tell me if your problem has been solved? If it is, kindly Accept it as the solution. More people will benefit from it. Or if you are still confused about it, please feel free to let me know.

 

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

miguelp06
Frequent Visitor

@PijushRoy , thanks

I will try

zenisekd
Super User
Super User

@miguelp06  I would also consider using "Relative date" style of the date slicer. You have to do few more clicks, but gives you more options and less work and administration.

zenisekd_1-1703151418501.png

 

zenisekd_0-1703151342577.png

Kudos and mark as solution appreciated 🙂

Thanks @zenisekd 

PijushRoy
Super User
Super User

Hi @miguelp06 

Hope you have calender/datetable/year in your dataset.
You can implement 2 approach

Bookmark
Apply Year filter at Page level or visual level for 5 years, create a Bookmark
Apply Year filter at Page level or visual level for 3 years, create a Bookmark
Apply Year filter at Page level or visual level for 1 years, create a Bookmark
Create 3 button and assign the bookmark in Action

Tab
Create separate page for 5 years, 3 years, and current year
Create 3 buttons and assign the page navigation in Action

If solve your requirement, please mark the comment as SOLUTION

Thanks
Pijush





Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.

March Power BI Update Carousel

Power BI Community Update - March 2026

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