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 / Edit Form - Sharepoint
Power Apps
Answered

Edit Form - Sharepoint

(0) ShareShare
ReportReport
Posted on by 119

I have an edit form which is connected to a SP-list. One of the fields is of type: Date. Due to the delegation problematic with filtering dates, I have made another column of type number that reflects the date as a number. This is achieved by using this formula: 

Set(Tester,Value(Text(DataCardValue9.SelectedDate,"[$-en-GB]yyyymmdd"))) 

DataCardValue9 stores the date. 

 

When I submit the form I need the the value in my number input to be present in the SP-list. It should be an easy thing to accomplish but I haven't succeeded. This is what I have done:

 

On start: Set(Tester,0)

Default Value on the DataCard that stores the date as a number: Tester

OnChange DataCard that stores the date: Set(Tester,Value(Text(DataCardValue9.SelectedDate,"[$-en-GB]yyyymmdd")))

 

So when i change the date in the input, the variable "Tester" change as it should, and the input for the DataCard that stores the date as a number shows the desired number. But when i submit the number column is blank. 

 

I have noticed that if I open the app and submit immediately the number column shows the value "0" as it should since "Tester" was set to that value initially.

 

 

 

 

 

 

Categories:
  • Verified answer
    dahlgebra Profile Picture
    119 on at

    solved

  • alrezac Profile Picture
    Microsoft Employee on at

    Hi,

     

    Any insight as to what was causing the issue? Please let us know so future communities members who come across your post when searching with their own issue will know what was done. This can help everything with solving issues in the future.

     

    Regards,

     

    Alex

     

    -------

     

    Community Support Team _ Alex Rezac
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 329

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard