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 / Collection showing as ...
Power Apps
Unanswered

Collection showing as Variable instead of Table

(1) ShareShare
ReportReport
Posted on by 270
Hi,
 
I have an app where everything was working fine.  I deleted a Dataverse table and imported an updated version - I made sure all columns are the same etc.
 
As soon as I did that I noticed an error.  A Collection is showing as causing a problem - on deeper scrutiny I noticed that the Collection is showing as a Variable instead of Table.
 
Anyone know why this might be happening - I changed no code at all and the code in error is based on 5 tables in a Switch - I only updated 1 of those tables. The error starts at the Switch level stating it has some invalid arguments.  If I change the collection name in all the appropriate spots the error goes away until I run it and then it returns the new collection to a Variable instead of Table.
 
Something seems to have corrupted.  
 
See below - TempDataAscTemp1 is not a table.
 
I have the same question (1)
  • ronaldwalcott Profile Picture
    3,862 Moderator on at
    Show the error in the Switch statement.
    How do you initialize the collection in the app? If this isn't done properly you can run into trouble if data structures it depends on are changed.
    Did you try saving and republishing the app?
  • Gargoolgala Profile Picture
    270 on at
    Hi ronaldwalcott,
     
    you prompted me to revert to an old version as it seemed that today a new PA version was pushed by MS.
     
    It is now all working - for now.  I will see what happens when MS force the latest version on my app again.
     
    Let's hope it was simply a glitched upgrade by MS - grrrrr.
  • ErikM9 Profile Picture
    163 on at
    As  stated, it explains my issue.
    I made the mistake of changing a column type in SharePoint. Now my app is littered with errors.
    I've gone through the app to make sure that all values are text and not just number, as it was originally. But that didn't do the trick.
    Though, when I recreate the collection but, under a new collection name, that works.
     

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
Haque Profile Picture

Haque 103

#2
WarrenBelz Profile Picture

WarrenBelz 82 Most Valuable Professional

#3
wolenberg_ Profile Picture

wolenberg_ 67 Super User 2026 Season 1

Last 30 days Overall leaderboard