Announcements
Hi @CU10031835-1,
Adding a Data Table control inside a container is not supported and copy paste is also not supported, which is a known limitation in Power Apps. This is documented by Microsoft here: Container control in Power Apps - Power Apps | Microsoft Learn
As WarrenBelz mentioned, a Gallery control is a better alternative. Using a gallery inside containers allows you to build a custom table-like layout and implement features such as sorting and other functionalities, similar to a data table.
Regarding the copy-paste workaround for Data Table controls, Microsoft has also documented a limitation. When you copy and paste a Data Table whose Items property uses a Filter() formula, Power Apps may automatically append _1 to field names in the new control. This makes the field names invalid, resulting in no data being displayed in the table.
Items
Filter()
_1
Workarounds:
Before copying the control, make sure the Filter() function does not reference fields that have the same names as columns in the Data Table. If it does, rename the column in the Data Table.
After pasting, remove the _1 suffix from the field names so they match the original column names in the data source.
Reference: Data table control in Power Apps - Power Apps | Microsoft Learn
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.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 424
WarrenBelz 355 Most Valuable Professional
11manish 290