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 / Lookup collection Mont...
Power Apps
Answered

Lookup collection Month = Text(Month(Today()), ""mmmm") but the result is random number

(1) ShareShare
ReportReport
Posted on by 2
Hi all,

Can you help me... I tried to make ComboBox with the value from Collection named "colMonths".
Inside the Collection have column Month with value "January", "February" and so on.

On ComboBox Items properties, I put formula colMonths,

and on DefaultSelectedItems properties, I put formula LookUp(colMonths, Month = Text(Today(), "mmmm"))


But the result on my ComboBox is random number
 
How to fix this? I dont understand... Because the value on my collection is already same with month name today.
Categories:
  • Suggested answer
    AndrianaO Profile Picture
    242 Moderator on at
    Hi! I would simplify everything and do not use the collection.
    Instead, I would put the following in the Items property of your DropDown:
     
    ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]
     
    And for DefaultSelectedItems:
     
    [Text(Today(), "mmmm")]
     
    Let me know if this works!
  • Verified answer
    timl Profile Picture
    37,422 Super User 2026 Season 2 on at
    Hi F_A,
     
    In the properties of your combo box, make sure to add your 'Month' field. That should hopefully solve your problem.
     
     
     
     
    I would also add that the following built-in function returns a list of month names, so there's no need to build a collection of month names.
     
    Calendar.MonthsLong()
     
     

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 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard