Power automate can't pull display value of a date column formatted cell?
Hello -
Two part question here.
- Trying to pull row data from SS using Power Automate to then send an email using that data. Works for every cell except the date formatted columns when variables are string and set to pull display value. So is there a way to get power automate to recognize the data in a SS date column?
- One of the workarounds I'm trying is to use a formula (in SS) in a text cell to pull the date in as text. But that is proving tricky as well. I don't need it to be in anything other than 8/27/24 text format so that power automate will populate the email correctly.
Any ideas? Preference is a fix for #1, but I'll take #2 as well. thanks!
Answers
-
Hey @Nate Ensor
For your #2, converting a date to text, in case you meant that as the tricky part.
=[date column]@row+""
You might also try using format yyyy-mm-dd to see if that helps
Will that work for you?
KellyPS - as an alternative workaround - have you considered having smartsheet email you the data then you power automate it from the email you received? Not knowing your data or email, I'm not sure if it would be easier or not
-
Thank you. Formula is perfect. I was definitely overthinking it.
I have thought about building the flow in power automate via a smartsheet email…but I already did the entire thing this way so I'm trying to see if there is a way to have the SS ate field recognized or converted so it will populate in the html before I redo the entire thing. :(
When you mentioned "using format yyyy-mm-dd" is that something I can do in SS? or are you talking Power automate?
-
There is a data format in SS that will format as yyyy-mm-dd, however that format doesn't 'stick' as the data is isn't really stored that way. I do know as I've transferred data into SS from excel, etc, that I've sometimes had to change the SS format to yyyy-mm-dd to obtain the correct data. If you wanted to try the text conversion into yyyy-mm-dd then here's the formula that will convert your DATE column to that text format
=IF(ISDATE([your date column]@row), 2000 + VALUE(RIGHT([your date column]@row, 2)) + "-" + LEFT([your date column]@row, 2) + "-" + MID([your date column]@row, 4, 2))
Good luck! Hopefully our smarter smartsheet friends out there will weigh in.
Kelly
-
Thanks, I'll give it a try if your previous formula doesn't pull into the email correctly.
Still holding out hope someone will have the key for power automate so I don't need an extra column for every date column.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 59 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!