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 / How do I grab values f...
Power Automate
Unanswered

How do I grab values from a select map to output to an Excel table?

(0) ShareShare
ReportReport
Posted on by 6

Does anyone know the best way to output this body and insert it into an excel file?  When I select the action, "Add a row to an Excel table," none of the values from the select are available.  This select action is within a "Apply to each."  Is there someway I could grab the values from the select map and put those into variables and then output those into the excel table?

 

11.jpg

1.jpg

 

The below is what the select action is outputting:

 

Annotation 2021-04-22 234253.jpg

Categories:
I have the same question (0)
  • Verified answer
    Paulie78 Profile Picture
    8,422 Moderator on at

    Add a row to an Excel table is an item level action, but select produces an array. So if you add a parse JSON step and use the select as the input for it, and paste in a sample of the output into the schema generation tool, then you can go into an apply to each action using the parse JSON as the source. Then within the loop you will be at the item level and Add a row to an Excel table will work.

  • bballjoe12 Profile Picture
    6 on at

    This worked perfect! Thank you SO much!

  • bballjoe12 Profile Picture
    6 on at

    @Paulie78,

     

    Is there any other form of output I could use other than an Excel table which would be easily importable to Power BI?

     

    Reason I am asking is because I then use the Excel table inside of Power BI.  The issue is the Excel table will have at least 1000 rows but these rows will need to get deleted every morning for a new refresh of data.  I'm thinking if I use another apply to each earlier in my flow to go through the Excel file and delete 1000s of rows, the flow will take VERY long. 

  • Paulie78 Profile Picture
    8,422 Moderator on at

    Why not just use a CSV?

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

#2
Tomac Profile Picture

Tomac 425 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard