cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dalchri
New Member

Power BI flow apply to each error

Hello,

 

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:

 

dalchri_3-1629999716582.png

 

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

 

dalchri_4-1629999749707.png

 

dalchri_5-1629999765471.png

 

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

1 REPLY 1
dalchri
New Member

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

dalchri_0-1630006015079.png

 

Helpful resources

Announcements
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.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

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.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Users online (4,529)