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 / Flow runs into error m...
Power Automate
Unanswered

Flow runs into error moving table to excel table

(0) ShareShare
ReportReport
Posted on by 4

I get below error when I try to create a flow to move data to an excel table

 

The execution of template action 'Apply_to_each' failed: the result of the evaluation of 'foreach' expression '@triggerBody()?['entity']?['Power BI values']' is of type 'Null'. The result must be a valid array.

 

I'm new to the whole flow and power bi so help is appreciated.

Categories:
I have the same question (0)
  • v-jefferni Profile Picture
    on at

    Hi @MMHL ,

     

    As of the error message, one of the Power BI values in Apply_to_each Control is blank and cannot be evaluated. You can use a Filter array action to exclude blank values from the array.

     

    Best regards,

  • v-jefferni Profile Picture
    on at

    Hi @MMHL ,

     

    Have you solved this problem?

     

    Best regards,

  • MMHL Profile Picture
    4 on at

    No, the issue still exists. You need to give me more information on how to change as the solutions I tried did not work.

  • v-jefferni Profile Picture
    on at

    Hi @MMHL ,

     

    Please check in below thread:

    Solved: Error -- 'Apply_to_each' / Power BI - Power Platform Community (microsoft.com)

     

    So, you can add a Compose above Apply to each and use the output in the Control.

     

    BR,

  • MMHL Profile Picture
    4 on at

    Still not working running into error. 

    2023-02-24_12-01-44.png2023-02-24_12-04-04.png

  • v-jefferni Profile Picture
    on at

    Hi @MMHL ,

     

    So, in the latest run history, could you find any outputs from the Compose action? You need to check if there is a table from trigger.

     

    Best regards,

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