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 / Adding rows iterative ...
Power Apps
Answered

Adding rows iterative rows to a table for each existing row

(0) ShareShare
ReportReport
Posted on by 20

If I have a table that has three columns as below

CategoryUserMonth
RedBob 
RedTom 

Is it possible to add 12 rows for each month in a year for each of the existing rows so that you get the below:

CategoryUserMonth
RedBob1
RedBob2
RedBob3
.........
RedBob12
RedTom1
RedTom2
RedTom3
.........
RedTom12

 

Categories:
I have the same question (0)
  • JR-BejeweledOne Profile Picture
    5,836 Moderator on at

    So you want the existing entry to be month 1 and then add 11 more rows for each one?

  • nekinekic Profile Picture
    20 on at

    yes exactly

  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @nekinekic 

    The following formula will produce the results you are looking for:

    Ungroup(
     ForAll(yourTableDataSource As _item,
     {item: ForAll(Sequence(12), Patch(_item, {Month:Value}))}
     ),
     "item"
    )

     

    I hope this is helpful for you.

  • nekinekic Profile Picture
    20 on at

    This worked. Thank you so much!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 542 Most Valuable Professional

#2
Haque Profile Picture

Haque 206

#3
Kalathiya Profile Picture

Kalathiya 201 Super User 2026 Season 1

Last 30 days Overall leaderboard