cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Dushy
Frequent Visitor

Filter to only show current month and last 12 months in dropdown

Filter to only show current month and last 12 months in dropdown

1 ACCEPTED SOLUTION

Accepted Solutions
gabibalaban
Super User
Super User

Hi @Dushy ,

 

So you need  that your dropdown to have as Items the current month and the last twelve months.

gabibalaban_0-1611920330279.png

 

Use this in Items formula of your dropdown to get the result in mmmm yyyy format:

ForAll(Sequence(13),Text(DateAdd(Today(),-Value+1,Months),"mmmm yyyy"))

 

Hope it helps !

View solution in original post

2 REPLIES 2
gabibalaban
Super User
Super User

Hi @Dushy ,

 

So you need  that your dropdown to have as Items the current month and the last twelve months.

gabibalaban_0-1611920330279.png

 

Use this in Items formula of your dropdown to get the result in mmmm yyyy format:

ForAll(Sequence(13),Text(DateAdd(Today(),-Value+1,Months),"mmmm yyyy"))

 

Hope it helps !

Thanks @gabibalaban 😀

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,208)