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 / How to get the value o...
Power Automate
Answered

How to get the value of the sharepoint in select tag

(0) ShareShare
ReportReport
Posted on by 504

Hello guys, I am filtering a row from Sharepoint list and wanted to use the value from column Date_To and Date_From to a variable

nagestiada_1-1713518725332.png

 

I want it to be transferred or called to a variable so that I can convert the format of the dates and use the variable to create a date range from Date_From to Date_To

Categories:
  • Verified answer
    Expiscornovus Profile Picture
    33,997 Most Valuable Professional on at

    Hi @nagestiada,

     

    You are only expecting one item in that Select action?

     

    If that is the case you could try and use the below expression in a string variable:

     

    Make sure you second key in the Select action is renamed to DateTo (I see you are using the same key twice) 😉.

    concat(formatdatetime(first(body('DateFrom'))['DateFrom'], 'dd-MM-yyyy'), 'to ', formatdatetime(first(body('DateFrom'))['DateTo'], '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 426

#2
11manish Profile Picture

11manish 349 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard