Skip to main content

Notifications

Power Apps - Power Apps Pro Dev & ISV
Unanswered

Collection showing as Variable instead of Table

Posted on by 264
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.
 
  • Gargoolgala Profile Picture
    Gargoolgala 264 on at
    Collection showing as Variable instead of Table
    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.
  • ronaldwalcott Profile Picture
    ronaldwalcott 903 on at
    Collection showing as Variable instead of Table
    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?

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,297

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,890

Leaderboard