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

Invalid argument type (record). Expecting a table value instead & Warning large data sets (using filter by date)

(0) ShareShare
ReportReport
Posted on by 4

Hello, I am having some trouble and could not find any solutions on the threads.

 

I created a gallery that is being filtered. I made multiple text labels that is connected to a sharepoint list. Everything works but this one column that is labeled "status". The only difference between this column and the others is that most of it is blank on the sharepoint list. I am not sure if the blanks is causing this error. The error I am getting is "Invalid argument type (record). Expecting a table value instead". This is my formula for status:  ThisItem.Status  The other columns work perfectly with this.

 

Another issue I have is the filter that is connected to a datepicker. It gives me a warning: "Delegation warning. The "Filter" part of this formula might not work correctly on large data sets". Everything works perfectly if i set the data row limit to 2000 in advance settings but the list will eventually pass 2000. When I set the data row limit to 50, it does not work. Is there a work around for this?

This is my formula for the date filter:

Filter('Transfer Data',Value(Text(Date_x0020_Number_x0020_Value,"[$-en-US]mmddyyyy"))=Value(Text(DatePicker2.SelectedDate,"[$-en-US]mmddyyyy")))

 

I created a calculated field named "date number value" in the sharepoint list. The formula I used is Text(Date,"mmddyyyy") in the calculated field.

 

Any help will be much appreciated. Thanks in advance. 

Categories:
  • eka24 Profile Picture
    20,925 on at

    For the ThisItem.Status, try:
                ThisItem.Status.Value

     

    On the Delegation warning, Watch this video:

              https://youtu.be/eCMuXPI1Qok?t=244

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • itsbrucelee Profile Picture
    4 on at

    @eka24 the ThisItem.Status.Value works perfectly. I am looking into the video. Thanks for the help!

  • eka24 Profile Picture
    20,925 on at

    Hope to get the feedback

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 226 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 191 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 167

Last 30 days Overall leaderboard