cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
atif1455
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  .. 

 

Regards

 

 

 
1 REPLY 1
poweractivate
Super User II
Super User II

@atif1455 

 

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

 

empty(item()) is equal to false

 

FilterOutBlanksDefinitionFlow.png

When we tested this it works well.

 

FilterOutBlanksWorksWell.png

 

Let us know if the above helped you.

Helpful resources

Announcements
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

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (2,669)