cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper I
Helper I

Two date pickers

Hi.

 

I'm using an excel spredsheet as datebase and I've got ther two columns with dates. In app I'm using two date pickers. Both are configurated in the same way. When I submit the form one DateValue is accepted and the second one not - I'm getting error - invalid value please use a valid ISO8601 date... and I'm realy confused. 
I think, I've tried everything, but whitout success.

1 ACCEPTED SOLUTION

Accepted Solutions
Super User III
Super User III

@sulrik 

How does the data in your Excel file look?  Is it possible that you are dealing with different type of date formats in the Excel file for those two columns?  The only way to really "tell" PowerApps what type of columns you have in your Excel is to have them formatted properly in the Excel table.  For example, a column of numbers will be treated as a numeric column.  If you wanted that to be treated as text, you would need to format the column in Excel to be text. Same thing for dates and other types.

It sounds like it have misinterpreted the type of date in your second date column.  I would take a look over that first.

 

I hope this is helpful and leads to a solution for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too!

View solution in original post

3 REPLIES 3
Super User III
Super User III

@sulrik 

How does the data in your Excel file look?  Is it possible that you are dealing with different type of date formats in the Excel file for those two columns?  The only way to really "tell" PowerApps what type of columns you have in your Excel is to have them formatted properly in the Excel table.  For example, a column of numbers will be treated as a numeric column.  If you wanted that to be treated as text, you would need to format the column in Excel to be text. Same thing for dates and other types.

It sounds like it have misinterpreted the type of date in your second date column.  I would take a look over that first.

 

I hope this is helpful and leads to a solution for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too!

View solution in original post

Community Support
Community Support

Hi @sulrik 

 

Agree with @RandyHayes 's suggestion, could you please check the Format of your Date Columns in your Excel Table?

And you can also use Patch function instead of SubmitForm to test whether there are the same issues.

More information:

function-patch

 

Best Regards.

Yumia

 

Thanks a lot! The second column was formated as general, after change it's started to work.

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (3,995)