Jan 26 2021 08:26 AM
Jan 26 2021 08:26 AM
I am using Power Automate (Microsoft Flow) to create an Excel spreadsheet and email it to the user - flow is working all fine.
The template which is updated in the flow has icon conditional formatting on the date columns so they should show as red/yellow/green depending on if they are overdue/coming up for renewal/in date, see screenshot:
however, when the file is emailed it does not show the icons, instead showing the date itself:
However, if the user double clicks on the cell and hits enter, it then decides to show the formatting as it should:
I cannot for the life of me figure out why this is the case. To make matters more annoying, I have another spreadsheet (a previous iteration of this same project, but it was so old it was easier to recreate rather than edit) which works fine, and when the file is updated it shows the formatting straight away.
I'm not too sure if the error here is on the Excel end or the Flow end - I'm assuming excel because otherwise the flow is succeeding and this error is the same both on the emailed copy and the version which is saved to SharePoint as part of the flow.
Does anyone have any idea on a fix? It's not a huge issue overall but does make the simple usability of the icon formatting a bit redundant if the user has to manually click on each cell to get the simple view.
Jan 26 2021 09:40 AMSolution
Looks like on updating the sheet Flow returns text instead of date, if user re-enter it is converted to date (actually number) and rule works.
Microsoft changed about a week ago how date from Excel sheet is recognized by Flow (text in ISO format instead of date). Perhaps that's related change. However, few days ago reverted change back and new version shall be introduced soon. That's somewhere on support page.
That's only the guess, I don't know for sure.
Jan 27 2021 01:16 AM
@Sergei Baklan Ah that would certainly make sense considering the old version worked. Thank you, I will hold tight for the update and fingers crossed that fixes my problem!