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 Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.


New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (2,303)