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 / How to create a dynami...
Power Apps
Unanswered

How to create a dynamic number of columns in a table

(0) ShareShare
ReportReport
Posted on by

Hello everyone!

 

I need to create a table with a dynamic number of columns.

The number of columns is determined by the number of records in a query.

 

Can you help me?

 

 

Categories:
  • Scott_Parker Profile Picture
    1,090 on at

    Technically you could do this by using ParseJSON(). But, you're then going to have the issue that Power Apps doesn't let you add controls dynamically, so it isn't really good for much in the end.

     

    Power Apps really expects you to have your column names all known at design time. You could try using a Table of Tables with the innermost table acting like your record by having columns of "FieldName" and "FieldValue". Maybe also "FieldIndex". But, I think it will be more trouble than it is worth.

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

#2
M Bilal Khan Profile Picture

M Bilal Khan 325

#3
Mohsin Ali Profile Picture

Mohsin Ali 232

Last 30 days Overall leaderboard