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

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Check out the New Ideas Site

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (5,939)