Showing results for 
Search instead for 
Did you mean: 
New Member

Power BI flow apply to each error



I get an error when trying to use apply to each in my flow:


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.


It seems that the data I'm trying to pass from the Power BI report never makes it to the flow.  I can see the data when I show as table:




I'm troubleshooting this issue with a compose operation below.






I see several similar issues posted but can't get mine to work.  Any ideas?

New Member

When you trigger the flow,  DO NOT use the button below.  Only trigger the flow using the visualization added to the report.



Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (5,494)