cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sulrik
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
RandyHayes
Super User
Super User

@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 below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

View solution in original post

3 REPLIES 3
RandyHayes
Super User
Super User

@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 below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

View solution in original post

v-yuxima-msft
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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,615)