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 / Invalid argument type ...
Power Apps
Unanswered

Invalid argument type (error). Expecting a table value instead

(0) ShareShare
ReportReport
Posted on by 78

Good afternoon,

 

I have an issue with an error that just started.  Up to today, my app has been working the way that it should be; however, I am having some issues now.

  1. On Start of the app, I set the value for my approver.  
  2. I have been able to click my "Create a PPQ from Favorites button and perform the desired actions without issues but now the button does not work because of the error Invalid argument (error).  Expecting a table value instead.
  3. The toggle buttons were working properly (Retail, Service, Food and Fuel):
    • Collecting the "toggle values (OnCheck)
    • Removing the toggle values (OnUncheck

These toggels

HelpWanted17_0-1716314771241.png

 

Can anyone please tell me why the toggles don't work properly anymore?

Categories:
I have the same question (0)
  • v-jefferni Profile Picture
    on at

    Hi @HelpWanted17 ,

     

    What formula is it OnSelect of the "Create a PPQ from Favorites" button?

     

    Best regards,

  • HelpWanted17 Profile Picture
    78 on at
    The script behind the "Create a PPQ From Favorites":
     
    Set(varPPQStatus,"New PPQ");
    Set(varShowSpinner,true);
    Set(varCreateFromFavorites,true);
    Set(varPPQDisplayType, "Submit");
    Navigate('Create PPQ From Favorites');

     

    -- I THINK I FOUND MY PROBLEM, this is what happens when you are half asleep. You duplicate lines--

     

    Set(varPPQStatus,"New PPQ");
    Set(varShowSpinner,true);
    Set(varCreateFromFavorites,true);

     

    //Reset(tgl_TroopMovement_NC);
    Reset(tgl_TroopMovement);
    Reset(tgl_Retail);
    Reset(tgl_Services);
    Reset(tgl_Fuel);  
    Reset(tgl_Food);
     
    Clear(colSelectedEmails);
    Navigate('Select Region Screen');

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 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard