they are two colums from the test database in excel(in atach baza_test2).
When I create a label i have this screen below
It is probalby foul this, that I change types of this colums in the excel. Before there be a text and date in text like 03-02-2020.
I want use the date in if, and I change it to date type.
What I have done in these situations is changed the column to just be text. Then when I get the data into PowerApps I use DateValue to convert it to a date object. Then before sending it back to Excel make it text again.
Not ideal but that has worked for me.
If you want to convert this date from the data_pop column (assuming the format is mm.dd.yyyy).
Then you can do this.
Date(Right(ThisItem,4), Left(ThisItem.data_pop,2), Mid(ThisItem.data_pop,4,1))
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
At the monthly call, connect with other leaders and find out how community makes your experience even better.