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 / The type of this argum...
Power Apps
Unanswered

The type of this argument does not match the expected type 'DateTime'. Found type 'Text'.

(0) ShareShare
ReportReport
Posted on by
Hi, im new to poewApp but loving it so far!
 
I am trying to patch data back to an Excel ( Excel Online(Business) Data source), but keep getting this error. Ive set my datasouce to "Text" and nothing. any help wouldb be great.!
 
Here is my code:
ForAll(
    Gallery3.AllItems,
    If(
        !IsBlank(inputName_txt.Value),
        Patch(
            NameList,
            Defaults(NameList),
            {Name: inputName_txt.Value,
             EntityType: InputEntity_drpdwn.Selected.EntityTypes
            }
        )
       
    )
),
 
Clear(myInput);
Notify("Rows have been successfully saved to the database.", NotificationType.Success);
Reset(inputBpNumber_txt);
 
// Repopulate myInput collection with 10 empty entries
ClearCollect(myInput,
ForAll(Sequence(10), {Name: "", EntityType: "", Relationship: "", Involvement: "", CountryOfResidency: "", Notes: ""})
);
 
This is the errro im getting:
 
The type of this argument 'EntityType' does not match the expected type 'DateTime'. Found type 'Text'.
 
 
 
  
  • WarrenBelz Profile Picture
    156,566 Most Valuable Professional on at
    Firstly, try Blank() instead of "" on the collection of that field.
     
    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

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 383 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 356

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard