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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 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.

Top Solution Authors
Top Kudoed Authors