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 / Upon Patch - Server re...
Power Apps
Unanswered

Upon Patch - Server response: A value must be provided for item

(0) ShareShare
ReportReport
Posted on by 12

Hello community, 

I am trying to update a table in an excel file with patch. No matter what insert, the Server always gives an error "A Value must be provided for item". I tested a version where I left all updates blank and just used Defaults, but even that wont work. I am happy for any comments or ideas 🙂 

The table has five colums with the following formats:

  • Kostengategrie - String
  • Kosten - Number
  • Kommentar - String
  • Eintragsdatum - Date
  • Fälligkeitsmonat - Date

 

and I am using the following code:

 

Patch(
 Reisekostentabelle,
 Defaults(Reisekostentabelle),
 {
 'Kostenkategorie ': Kostenkategorie_Value.SelectedText.Value,
 Kosten: Kosten_Value,
 Kommentar: Kommentar_Value.Text,
 Eintragsdatum: Coalesce(Blank(), Today()),
 Fälligkeitsmonat: Coalesce(Blank(), DateValue1.SelectedDate)
 }
);
Navigate(BrowseScreen1)

 

 

 

 

Piggi_0-1601542068813.png

 

Greetings 

 

Lasse

Categories:
I have the same question (0)
  • Verified answer
    v-yutliu-msft Profile Picture
    on at

    Hi @Piggi ,

    Do you mean that you could not update successfully?

    Could you tell me:

    1)how do you connect with this excel table? choose "import from excel" or connect with one drive?
    2)what does Kosten_Value represent?
    Please notice that:
    if you choose "import from excel" to connect with excel table, then the excel table is read-only. It's a kind of static table that is imported to powerapps' cache, not supported to update.

     

    What's more, if Kosten_Value  is the text input's name, you should use textinputname.Text to represent the text in the  textinput.

    Try this formula:

    Patch(
     Reisekostentabelle,
     Defaults(Reisekostentabelle),
     {
     'Kostenkategorie ': Kostenkategorie_Value.SelectedText.Value,
     Kosten: Value(Kosten_Value.text),
     Kommentar: Kommentar_Value.Text,
     Eintragsdatum: Coalesce(Blank(), Today()),
     Fälligkeitsmonat: Coalesce(Blank(), DateValue1.SelectedDate)
     }
    );
    Navigate(BrowseScreen1)

     

     

    Best regards,

  • Piggi Profile Picture
    12 on at

    Hey  

     

     

     

     

     

     

    Thanks a lot for the help 🙂 

     

     

     

     

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