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 / Collect two tables int...
Power Apps
Unanswered

Collect two tables into one collection

(1) ShareShare
ReportReport
Posted on by 62
Hello there!
Im trying to collect 2 identical tables (from excel) into one single collection, but it seams that they are considerated two different tables.
Here is the error and the two tables


Categories:
I have the same question (0)
  • Verified answer
    ANB Profile Picture
    7,223 Super User 2025 Season 2 on at
    Hi
     
    Use the table directly instead of collection:
    ClearCollect( _FinalTable; Table1; Table2 )
     
    Please click Does this answer your question 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 a Like.
     
    Thanks,
    ANB
  • N1loCan Profile Picture
    62 on at
    Still the same
  • Suggested answer
    ANB Profile Picture
    7,223 Super User 2025 Season 2 on at
    Hi,
     
    Please follow this artcile:
     
    Please click Does this answer your question 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 a Like.
     
    Thanks,
    ANB
  • WarrenBelz Profile Picture
    153,034 Most Valuable Professional on at
    FirstlyANB was correct in the first response. Also you need to paste your entire code in Text (some is hidden in the image) as the error may be elsewhere. Assuming the two tables PlanilhaImobilizados and PlanilhaVendidosImobilizados are identical in structure (same field names and types) try this (get rid of the rest of the code - just use this). Excel is a terrible data source at the best of times, so may need a little assistance.
    With(
       {
          _Plan1: PlanilhaImobilizados;
          _Plan2: PlanilhaVendidosImobilizados
       };
       ClearCollect(
          _FinalTable;
          _Plan1;
          _Plan2
       )
    )
     
    Please click Does this answer your question 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 a Like.
    MVP (Business Applications)     Visit my blog Practical Power Apps    Buy me a coffee

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