Skip to main content

Notifications

Community site session details

Community site session details

Session Id : +YdWBeT8LHcme8+qrQHnZz
Power Automate - Power Automate Desktop
Unanswered

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

Like (0) ShareShare
ReportReport
Posted on 23 Jan 2021 03:30:10 by 262

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.

 

  • ZS440 Profile Picture
    262 on 25 Jan 2021 at 14:54:31
    Re: Differences in the behavior of the Power Automate Desktop and WinAutomation [Substract lists] action]

    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.

  • miketran13 Profile Picture
    720 on 25 Jan 2021 at 05:42:05
    Re: Differences in the behavior of the Power Automate Desktop and WinAutomation [Substract lists] action]

    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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,731 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,079 Most Valuable Professional

Leaderboard
Loading started