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 / Dynamic content from e...
Power Automate
Unanswered

Dynamic content from excel

(0) ShareShare
ReportReport
Posted on by 5

Hi 

 

Sorry if this has been talked about before, I can't find anything.

 

I'm setting up a flow using data from an excel spreadsheet which has separate tables named for each month of the year (i.e. September). I was my flow to use data from the table named after the current month so I have used a compose function to find the month. I then use this dynamic content to tell the flow which table to look at as so -

RachelUC_0-1662634415272.png

This stage definitely works as when I run it and check the outputs the correct data is there. But I can't use any of that data in future steps as the column names aren't listed as they usually are -

RachelUC_1-1662634504120.png

 

Whereas if I manually put the month in, it works as usual - 

RachelUC_2-1662634562597.png

 

I'm assuming it's something to do with power automate not being able to access the excel table because I'm trying to use dynamic content rather than just giving it the name as normal - is there a way around this? I don't want to have to go in and manually change the month.

 

Thanks for any help

 

Categories:
I have the same question (0)
  • Verified answer
    Unknown geen idee Profile Picture
    1,757 on at

    Dear RachelUC,

    The compose action does not show you any column names because PowerAutomate cannot look into your defined excel table (you use dynamic content).

    If you are sure that you table structure is the always the same, you can refer to the current items in that row by using the expression 'items('Apply_to_each')?['ColumnName']. Give it a try.

     

    If this helps, please state so in the thread.

    Happy flowing,

    Koen

     

    Koen5_0-1662638578781.png

     

  • RachelUC Profile Picture
    5 on at

    That works thanks!

  • PranayMokida Profile Picture
    2 on at

    It shouldnt be just plain data in rows and columns, you also need to create a table in the excel. Then you will be able to select the table name. 

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard