Hi everyone,
i have linked a collection to an excel-table using "ClearCollect(colPrice;pricingtable)".
Every single column is linked very well, except the date column and i cant figure out the problem.
I tried different formatting for the date in excel but the collumn of my collection stays empty.
Importing the date as a number works, but it shows up the wrong date in a gallery, it's alway 1970-01-01.
any suggestions?
sorry for my poor english 😑
Solved! Go to Solution.
Hi @SteMat ,
So, if you are able to use a new column with the Text formulas to convert the previous column date values, it is the solution.
Best regards,
Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.
Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.
I would say for you to create the collection with Patch().
Try this:
ForAll(
Patch(
colPrice,
Defaults(colPrice){
...
ColDate: DateValue(DateExcel)
...
}
That way you are forcing the item to be a Date
If that does not work, try converting in excel.. set it field as text
If you need additional help please tag me in your reply and please like my reply.
If my reply provided you with a solution, pleased mark it as a solution ✔️!
Best regards,
Gonçalo Nogueira
Check my LinkedIn!
Check my User Group (pt-PT)!
Last Post on Community
Hi @SteMatu ,
If you have formatted the column to Text, then fill up those cells with date form texts, you will be able to retrieve all the date column values into Power Apps collection and gallery, no matter how you format this column in Excel:
But you should note that, if you change this column to Date or other formats, any new entries will not be able to display in Power Apps correctly, basically be blank all the time.
So, the best approach to make power apps with Excel table as the data source is, use Text columns all over the table and never change.
Hope this helps.
Best regards,
Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.
Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.
Not sure what you mentioned me to do, but it gave me a hint for a solution.
I created another column in excel with the formula =TEXT(Eingabemaske'!O17;"dd.mm.yyyy") which is readable for powerapps.
Hi @SteMat ,
So, if you are able to use a new column with the Text formulas to convert the previous column date values, it is the solution.
Best regards,
Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.
Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
191 | |
52 | |
41 | |
39 | |
35 |
User | Count |
---|---|
263 | |
86 | |
71 | |
69 | |
66 |