Hello everyone!
I have searched the forum a lot and tried a lot of things without success (compose, formatDateTime, StartDate...).
I need to import from an excel (Business) date (Eckendtermin) to a SP list. I only have the typical 43203, 43206... numbers.
I don't want to compare it to other dates. Just import it. I show you some pictures of my flow.
Thank you very much in advance
Solved! Go to Solution.
My solution. It's not pretty, but it works.
A new list with the date 01.01.1900
Get Element und Variable and Set variable. The variable receives a number of days, 43056 (for example).
That number of days minus 2 (I don't know why)
Finally we add the number of days to the date 01.01.1900
This works
This is my excel-table
Hi @Anonymous,
I have made a test on my side and the issue is conformed on my side.
The output value of the date would be 43203, 43206 with string type as you said.
As an alternative way,you could take a try to save the excel file in your onedrive for business instead of sharepoint to achieve your needs.
I have made a test on my side, if you save the excel file in your onedrive for business, the flow would run successfully to insert the item with date to your sharepoint list.
The flow as screenshot below:
The flow would run successfully as below:
Please let me know if your problem could be solved.
Best regards,
Alice
Hello, @Anonymous!
Have you had an opportunity to apply @v-yuazh-msft‘s recommendation to adapt your Flow? If yes, and you find that solution to be satisfactory, please go ahead and click “Accept as Solution” so that this thread will be marked for other users to easily identify!
Thank you for being an active member of the Flow Community!
-Gabriel
Flow Community Manager
Thanks for the answers. I was out of the office all week. Today I'll test if it works
Thank you very much for your reply. Unfortunately I am not allowed to use Onedrive in this Flow and it must be imported directly into a SPList
Best regards,
Juanfran
My solution. It's not pretty, but it works.
A new list with the date 01.01.1900
Get Element und Variable and Set variable. The variable receives a number of days, 43056 (for example).
That number of days minus 2 (I don't know why)
Finally we add the number of days to the date 01.01.1900
This works
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!
User | Count |
---|---|
39 | |
37 | |
36 | |
33 | |
28 |
User | Count |
---|---|
39 | |
38 | |
31 | |
28 | |
23 |