cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
sulrik
Level: Powered On

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
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.
3 REPLIES 3
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.
Community Support Team
Community Support Team

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

 

sulrik
Level: Powered On

Re: Two date pickers

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

Helpful resources

Announcements
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 229 members 4,949 guests
Please welcome our newest community members: