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 / Dropdown with 8 year &...
Power Apps
Answered

Dropdown with 8 year & quarter values starting from today

(0) ShareShare
ReportReport
Posted on by 12

I would like to create a dropdown list with 8 values that display years and quarters, e.g. "Q1'2023". I have tried to do something like this:

["Q1'" & Year(Now()),"Q2'" & Year(Now()),"Q3'" & Year(Now()),"Q4'" & Year(Now()),"Q1'" & Year(Now())+1,"Q2'" & Year(Now())+1,"Q3'" & Year(Now())+1,"Q4'" & Year(Now())+1]

However, the issue with that is that it ignores current quarter and bases everything solely on year. So if we are in Q3'2023, I will still have an option to choose Q1'2023, which I do not want. Instead it should move in sequence 1 quarter forward each time current quarter concludes, i.e. dropdown quarter should be >= current quarter.

 

Any suggestions on how I could implement this?

Categories:
  • Verified answer
    BCBuizer Profile Picture
    22,854 Super User 2026 Season 2 on at

    Hi @bmtb ,

     

    The below formula creates the 8 items, based on the current time:

     

    ForAll(
     Sequence(8),
     $"Q{RoundUp(
     (Mod(
     ((ThisRecord.Value - 1) * 3) + Month(Now()) - 1,
     12
     ) + 1) / 3,
     0
     )}' {Year(Now()) + RoundDown(
     (Month(Now()) - 1 + ((ThisRecord.Value - 1) * 3)) / 12,
     0
     )}"
    )

     BCBuizer_0-1677249248767.png

    You can test this by replacing Now() with any date or a reference to a datepicker.

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 393 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard