web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How i can build a comb...
Power Apps
Answered

How i can build a combobox which contain years starting from 2024 till current year

(0) ShareShare
ReportReport
Posted on by 2,104 Season of Giving Solutions 2025

I want to build a Year filter combobox, which start from 2024 till current year + the All option, so if we are in 2026, the combobox should show:-

 

  • All
  • 2024
  • 2025
  • 2026

and so on

Categories:
  • Verified answer
    v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @johnjohnPter ,

     

    Please try this:

    ForAll(Sequence(Sum(Year(Today()),-2022),0),If(Value<Last(Sequence(Sum(Year(Today()),-2022),0)).Value,Text(Sum(2024,Value)),"ALL"))

     

    Best regards,

    Rimmon

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 283

#3
Mohsin Ali Profile Picture

Mohsin Ali 221

Last 30 days Overall leaderboard