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

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

(0) ShareShare
ReportReport
Posted on by 16

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
    Microsoft Employee 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
    16 on at

    Hey  

     

     

     

     

     

     

    Thanks a lot for the help 🙂 

     

     

     

     

    Bild1.png

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 462

#2
WarrenBelz Profile Picture

WarrenBelz 425 Most Valuable Professional

#3
Vish WR Profile Picture

Vish WR 291

Last 30 days Overall leaderboard