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

Re: Two date pickers

@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.

View solution in original post

3 REPLIES 3
Highlighted
Super User
Super User

Re: Two date pickers

@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.

View solution in original post

Highlighted
Community Support
Community Support

Re: Two date pickers

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

 

Helper I
Helper I

Re: Two date pickers

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

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (12,630)