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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Creating a collection ...
Power Apps
Unanswered

Creating a collection based on Date Picker Ranges

(0) ShareShare
ReportReport
Posted on by 5

Hi all,

I'm working on building a collection in a Power App in where I want the ability to create a collection that's based on two Date Pickers that are getting the month and the year that are selected. With these Date Picker selections, I want the ability to dynamically create a collection that will also name the columns in the collection with the range of months and years selected in the Picker.

As an example:

I select the current date in the first Date Picker (3/29/23), and I select a year out in the other Date Picker (3/29/24), when I press a button to create a collection, the ideal outcome should be that it will create a collection where the column names are something like 3/23, 4/23, 5/23, 6/23...etc. 

Is this doable? Or am I really pressing the limits of what's possible with a collection? Thanks!

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    153,034 Most Valuable Professional on at

    Hi @SOUP22394 ,

    You cannot dynamically name columns created in a Collection, so all hard-coded I regret to say.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard