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 / Create multiple entrie...
Power Apps
Answered

Create multiple entries on One Click for all Choice column

(0) ShareShare
ReportReport
Posted on by 6,048 Super User 2024 Season 1

0.jpg

 

Above is my table, All choice column have values like. There are 6 companies, 12 month, 3 Office Locations, 7 Categories.

On one click i want to make a collection where schema is a value for every combination and permutation of this choices.

For eg. 

YearCompanyMonthOfficeLocationCategoryRateAmount
2021Company AJanuaryAhd-AAdminExp740
2021Company AJanuaryAhd-ARent740

 

Same for all the companies * all the months * all the office location * all the categories. Just rate amount and year will be fixed. i Can do that for one choice field as you can see from below pics.

 

q.jpgq2.jpg

 

 

 

 

I don't know how to do that for combinations. Let's say if i try below code it will create 84 entries for 7 companies and 12 months. But even in the company field it enters Months. Because inner for loop is for month. What i want is each company has 12 entries for 12 months.

 

 

q3.jpg

 

 

Any help please.

Categories:
I have the same question (0)
  • Verified answer
    zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    q4.jpg

     

    Ok. This did the trick. Should have known it will be something simple

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 386 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 361

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 339 Super User 2025 Season 2

Last 30 days Overall leaderboard