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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Get Dynamic column dat...
Power Automate
Unanswered

Get Dynamic column data in SharePoint get items

(1) ShareShare
ReportReport
Posted on by

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 523 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard