Hi,
i have a list of items, thier details are saved in an excel sheet in Documents in sharepoint.
what i want is that to compare the dates of each of the items in that excel sheet with the current date, if it matchs it will send email.
i built the flow but i have an issue that condition is always false becasue the date is read as value from excel not as date format. for example 2019-04-24 will be taken as 43579 which will fail the condition.
any help please ..
thanks,
Ibrahim
Solved! Go to Solution.
You need to set your excel column to be a string, not a date ... I chatted this though before on the below thread.
https://powerusers.microsoft.com/t5/Building-Flows/excel-to-google-calendar-flow/m-p/255841
If you have found my post helpful, please mark thumbs up.
Any other questions, just ask.
Thanks, Alan
Proud to be a Flownaut!
Hi @Ibrahimkhalil ,
As Alan mentioned, he has provided a good solution, please take a try.
In addition, please also consider the following method to solve this problem, don’t need to change the type of the fields in Excel table.
Expression reference:
addDays('1899-12-30',int(item()['Date']),'yyyy-MM-dd')
Image reference:
Hope it helps.
Best Regards,
Both of the Excel Online (Business) and Excel Online (OneDrive) connectors will always return the date column as plain integers instead of the date/time format. The original Excel Connector could return the date and time, but that connector is now deprecated.
Due to the reduced functionality and strict limitations (especially file lockout times) of the Excel Online connectors, Flow experts tend to agree that you should avoid using the Excel Online connectors at all cost. Instead, you could create and/or update a SharePoint list via the Excel document, and then pull the date/time from the SharePoint list data.
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
You need to set your excel column to be a string, not a date ... I chatted this though before on the below thread.
https://powerusers.microsoft.com/t5/Building-Flows/excel-to-google-calendar-flow/m-p/255841
If you have found my post helpful, please mark thumbs up.
Any other questions, just ask.
Thanks, Alan
Proud to be a Flownaut!
Hi @Ibrahimkhalil ,
As Alan mentioned, he has provided a good solution, please take a try.
In addition, please also consider the following method to solve this problem, don’t need to change the type of the fields in Excel table.
Expression reference:
addDays('1899-12-30',int(item()['Date']),'yyyy-MM-dd')
Image reference:
Hope it helps.
Best Regards,
HI Alan, this works for me, many thanks for your help.
BR,
Ibrahim
Hi @v-bacao-msft,
please note that the below method also successfull for me. many thanks for your help.
thanks,
Ibrahim
Hi @Ibrahimkhalil .
Thank you for taking the time to feedback your 2 solutions and for using thumbs up!
It really does help the community when they search in the furure.
I am very glad you have a wroking solution.
Best wishes, Alan.
Happy Flowing!
Proud to be a Flownaut!
Hi Alan,
Hope this message finds you well.
i created an approval, and i want the approver to provide extra information (must be added) so that it will go to next phase approval.
Thanks in advance.
BR,
Ibrahim
Hi @AlanPs1 ,
Hope this message finds you well. i created an approval, and i want the approver to provide extra information (must be added) so that it will go to next phase approval.
Thanks in advance.
BR,
Ibrahim
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 |
---|---|
12 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
19 | |
15 | |
11 | |
10 | |
9 |