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 / Apply to each error wh...
Power Automate
Unanswered

Apply to each error when connecting to excel online table

(0) ShareShare
ReportReport
Posted on by

I am trying to get Power Automate to run a Power Bi report for each of the users I have listed on an excel online table. Their email address is listed in the table and I wanted the flow to go to each of the email addresses to run the report based on their log in. I keep receiving and error that the Apply to each expression failed because the value from the excel table is type string and not array. I need help to find a work around or a way to make the information on that table "array" format instead of string. 

 

Any suggestions? Screenshots below

 

2021-07-15_9-57-14.png2021-07-15_9-56-38.png

Categories:
I have the same question (0)
  • tom_riha Profile Picture
    10,185 Most Valuable Professional on at

    Hello @erodriguez6393 ,

    it's hard to suggest if we don't know what data it contains. But I'd check the split(...) expression that'll allow you to convert a string into an array based on some separator.

  • eric-cheng Profile Picture
    5,171 on at

    Hi @erodriguez6393 ,

     

    From the screenshot, 'Apply to each 2' is iterating through each row of the table but I am not sure what 'Apply to each' is used for.  

     

    If you need to reference a particular field, you can do so within your first loop i.e. for each 2

     

    See below of an example of what I am saying

     

    Screenshot_20210716-005046_Chrome.jpg

     

    --------------------------------------------------------------------------
    If I have answered your question, please mark my post as a solution
    If you have found my response helpful, please give it a thumbs up

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

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard