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
Dual Super User
Dual 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
Dual Super User
Dual 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.

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 (2,930)