Hello,
First time posting π
I am using an Excel Table (I know it's not the best data source), to log inspections. One of the columns is for the Inspection Date.
I have tried populating a canvas app from data source, and starting from scratch; however the issue is that the DateValue card always returns a date with the time appended.
I have tried adding a datepicker and simple text input with
Update: DateValue3.SelectedDate
Update: Text(DateValue3.SelectedDate,DateTimeFormat.ShortDate)
And a few more variations without much luck.
The result is always something like this:
I also tried rebuilding the excel table to General format, as well as shortDate format but haven't managed to get it working.
loosing lots of hair over here!!π
Appreciate any help π
Thank you @WarrenBelz ! I couldn't manage to get it working initially but you got me thinking about setting it all as text and so I made some adjustments to the initial Excel table. Basically avoided anything that resembled a date, including the name of the column. Afterwards, applying your code solved it and I could rename columns etc.
Hi @eaguilera1 ,
Dates and Excel . . . one solution is to format it in Excel as Text and have the Update
Text(DateValue3.SelectedDate,"dd/mm/yyyy")
then your DefaultDate
DateValue(ThisItem.'Inspection Date')
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Visit my blog Practical Power Apps
WarrenBelz
791
Most Valuable Professional
MS.Ragavendar
410
mmbr1606
275
Super User 2025 Season 2