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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount 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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors