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.

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.

Super User 2 - 2022 Congratulations 768x460.png

Welcome Super Users

The Super User program for 2022- Season 2 has kicked off!

Users online (3,023)