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 / Get Dynamic column dat...
Power Automate
Answered

Get Dynamic column data in SharePoint get items

(1) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi

I am trying to retrieve dynamic column's data in flow using SharePoint get items but I am unable to

The following works:
items('Apply_to_each_2')?['MinCorroDueDate']

 

The following does not work:

items('Apply_to_each_2')?[outputs('Compose_datefield')]

where 

outputs('Compose_datefield') = 'MinCorroDueDate'

 

I want to do this as I want to get dynamic column each time, they are all data columns but they can be different.

 

 

Any suggestions?

 

Thanks

 

 

Categories:
I have the same question (0)
  • PrasadAthalye Profile Picture
    on at

    Can you please upload your flow picture and tell us what error are you getting and where exactly its failing?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi

    This is screenshot, no errors but nothing is retrieved.

    I am trying to email myself this data and nothing is in outputs .

     

    Thanks

     

     

    Capture.JPG

     

    Capture1.JPG

  • PrasadAthalye Profile Picture
    on at

    Can you check what is the output of Compose? Also, can you convert that to string using 

    string() function and then test?
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks, I tried

    string(items('Apply_to_each_2')?[outputs('Compose_datefield')])

     

    and still nothing

    Capture3.JPG

  • PrasadAthalye Profile Picture
    on at

    Inputs and outputs both appear to be empty on compose.. can you tell me what is the input expression of compose?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks

     

    string(items('Apply_to_each_2')?[outputs('Compose_datefield')])

     

     

    Capture4.JPG

  • PrasadAthalye Profile Picture
    on at

    Looks like you have another compose.. Can you upload picture of Compose Datefield?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi

     

    CaptureComp.JPG

     

    which translates to

     

    Capture22.JPG

     

    Thanks

  • J_Porter Profile Picture
    on at

    Perhaps try using the longhand expression items('Apply_to_each_2')?[actions('Compose_datefield').outputs]

    Although it could be that the expressions seems to search for the 'Apply_to_each_2' section which doesn't house 'Compose_datefield' so it may be feasible to try just actions('Compose_datefield').outputs or outputs('Compose_datefield')

    Difficult to tell without assuming flow structure and layers. Let me know if this helps.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks.

    I tried both

     

    items('Apply_to_each_2')?[actions('Compose_datefield').outputs]

     

    AND

     

    items('Apply_to_each_2')?[outputs('Compose_datefield')]
     
    and they both came out as empty string.
     
    cheers
     

     

     

     

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 427

#2
Vish WR Profile Picture

Vish WR 316

#3
David_MA Profile Picture

David_MA 260 Super User 2026 Season 1

Last 30 days Overall leaderboard