Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Power Apps Flows remove empty array item from collection coming at end

Hi, ,


I have a flow in which i read data from excel sheet  split  item rows and creates an array containing row items from (excel sheet). Will insert this array iterativley in sql table  further. 


Issue is parsed array contains an empty row item at the end each time... Suppose I have 6 items rows in excel sheet , parsed splitted array contains those 6 items plus an empty row at the end.


Actual Excel Items:

 Actual excel Items.png


Parsed Flow row items in array: 

Parsed Array.png


Any idea how to the empty item from the parsed array  .. 





Super User II
Super User II



Try this kind of Flow to Filter out blanks by using a Filter Array to filter on expression:


empty(item()) is equal to false



When we tested this it works well.




Let us know if the above helped you.

Helpful resources

PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group


Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (63,533)