Showing results for 
Search instead for 
Did you mean: 
Helper V
Helper V

Datepicker in a Gallery

Hello everybody,

I have an action list (Excel database) which I visualize with the help of a gallery.
I would like to be able to set a timeline for each point using a date picker.

I have an edit button to edit the date picker and a save button to send the changed date in the database.


Whenever new dates are set, the date picker visualizes a different date than in the database.


Who can help me . . .



Defaultdate: Thisitem.Wann

Displaymode: If(LetsEdit; DisplayMode.Edit;DisplayMode.View)


Edit Button:

OnSelect: UpdateContext({LetsEdit: !LetsEdit})

Text: If(LetsEdit;"Abbrechen";"Edit")


Save Button

OnSelect: Patch(Aktionsliste_OPS2_Linie;ThisItem ;{Problem_KorrektiveMaßnahme:TextInput2.Text;Ursache:TextInput3.Text;Vorbeugende_Maßnahme:TextInput3_1.Text;Wer:TextInput4.Text;Wann:DatePicker3.SelectedDate});;UpdateContext({LetsEdit: false})





Community Support
Community Support

Hi @Robertjde :

Could you tell me:

  • What is Wann's data type?

I'm afraid "6082020" is not a date format that can be recognized by powerapps.(I have done the test and the result is the same as your screenshot)

Please try these steps:

1\Set Wann to date format

2\Using "6/08/2020" instead of "6082020" (In my test, the correct result can be obtained after performing this step)

In addition,you also need to pay attention to the time here

Best Regards,



I save 2 different dates (Datum, Wann). The format is in "Text" format.


If I only save the date (Datum) once, it will be displayed correctly in my application. If I save 2 x date (Datum, Wann) the database (Excel) loses the format, for whatever reason.


I also tried "DATE" format

Hi @Robertjde :

Could you tell me:

  • How do you save the date? Is it modified directly in excel or through powerapps?
  • What is Datum?What formula do you use to update it? What control and formula do you use to load it?
  • What is the meaning of "2 x date"?Could  you provide a specific formula?

Best Regards,


Helpful resources

Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (5,278)