web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Edit Data in Select va...
Power Automate
Answered

Edit Data in Select variable

(0) ShareShare
ReportReport
Posted on by 24

Hi every body

I'm creating a reminder mail with projects and due date by sharepoint list following this guide.

https://ryanmaclean365.com/2020/01/29/power-automate-html-table-styling/ 

 

Everything works but the date is formatted as 'yyyy-mm-dd' when I want 'dd-mm-yyyy'

 

This works (the "Scadenza" field is the 'DueDate')

marpisa_1-1603971927556.png

 

If I try to use a formula into the Select Variable i can't have to "Scadenza" field available, but only two arrays: "value" and "Elenco di elementi" that is the Sharepoint List Get Items Object  (body('Ottieni_elementi'))

marpisa_2-1603972057727.png

 

 

How can I do?

 

Thanks to everybody

Marco

 

Categories:
  • Verified answer
    Jcook Profile Picture
    7,783 Most Valuable Professional on at

    Hello @marpisa 

     

    First, I can see you're using formatDataValue() you need to use formatDateTime()

     

    When inside a Loop/Select action you can select the array fields by using the item() expression followed by ?['fieldName']

    The expression you're looking for is:

    formatDateTime(item()?['Scadenza'],'dd-MM-yyyy')

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 289

#2
11manish Profile Picture

11manish 282 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 119

Last 30 days Overall leaderboard