cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ZS440
Resolver II
Resolver II

Differences in the behavior of the Power Automate Desktop and WinAutomation [Substract lists] action]

In an Excel data table like the following
Get first free column/row from Excel Worksheet] will not count well if there is a blank string.

Screenshot 2021-01-23 113703.jpg

 

So I used [Substract lists] in Winautomation to count the number of lines, excluding the blank strings.
This will give me the correct number of rows.

 

Screenshot 2021-01-23 115043.jpg

 

 

If I do the same thing with PAD, [Substract lists] will do Distinct processing at the same time.
I can't get the correct row count anymore.

 

 

Screenshot 2021-01-23 115456.jpg

 

 

I don't want it to work differently from WinAutomation.
Please fix this.

 

2 REPLIES 2
miketran13
Solution Specialist
Solution Specialist

Hi,

 

You are right, it does not work as expected with Get first free column/row from Excel. So, I have used Read from CSV file to solve this problem for my flow instead of waiting for MS to fix it.

 

Screenshot 2021-01-25 123957.png

miketran13_0-1611553292933.png

 

Thanks and hope it can help you. 

Mike

---------------------------------

Did I answer your question? Please consider to Mark my post as a solution! to guide others

ZS440
Resolver II
Resolver II

Thanks for the reply.
I tried saving the Excel file as csv.
But the solution seems to be difficult.
I have converted the RPA Challenge Excel file to csv.
The ghost cells remain.
http://www.rpachallenge.com/

Screenshot 2021-01-25 233800.jpg

It is also possible to count with regularized expressions and looping.
But it is slow.

 

 

I am now trying a python script action.

Helpful resources

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

New Process Advisor Capabilities carousel.png

Read the blog for the latest news

Read the latest about new experiences and capabilities in the Power Automate product blog.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

AI Builder AMA June 7th carousel (up on May 25th, take down June 8th) (1).png

'Ask Microsoft Anything' about AI Builder!

The AI Builder team invite you to ask questions and provide helpful answers at our next AMA.

Users online (1,580)