web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Extract a table in a d...
Power Automate
Unanswered

Extract a table in a desktop window

(0) ShareShare
ReportReport
Posted on by 6

When I extract a table in a desktop window I get the data as a string variable. How do I get it to be a table? If I get it into excel it paste it all in one cell.

 

Do somebody have an example how to?

I have the same question (0)
  • VJR Profile Picture
    7,635 on at

    Hello @jemoe 

     

    Could you share some screenshots and which actions have you used in the PAD code.

  • RIYAMROY Profile Picture
    on at

    @jemoe -

     

    Step 1: You will have to right click on one of the table cells and then select "Extract entire HTML table"(screenshot attached)

    RIYAMROY_0-1636987947555.png

     

    In the Live web helper, you should be able to see the data in tabular format.

    RIYAMROY_2-1636988203065.png

     

    Step 2: Store Data mode > You could either choose Variable or Excel Spreadsheet

    RIYAMROY_3-1636988237976.png

     

    For Excel Spreadsheet, output would be of this format

    RIYAMROY_1-1636988152328.png

     

    For Variable, output would be of table format.

    RIYAMROY_4-1636988530681.png

     

  • VJR Profile Picture
    7,635 on at

    Hi @RIYAMROY 

     

    The original post is referring to a desktop table versus an Html table.

     

    I am able to recreate the mentioned issue. When the desktop table on the left is extracted using "Extract data from Window", then it pastes into excel into one single cell A1 as shown in the right. And does not give table like structure.

     

    Select the output as Spreadsheet in the "Extract data from window" action.

     

    VJR_0-1637033631728.png

     

     

    If it doesn't work then one option would be to dynamically navigate cell by cell within the table.

     

    @jemoe, have you come up with a workaround?

    @RIYAMROY any ideas on alternate solution please share.

  • RIYAMROY Profile Picture
    on at

    RIYAMROY_0-1637048531612.png

    RIYAMROY_1-1637048735437.png

    Hi @VJR - I am able to extract it in tabular format in Excel Sheet with the dummy Contoso Invoicing Desktop Application.

    @jemoe @VJR Could you share the desktop application that you are using to re-create the issue?

  • VJR Profile Picture
    7,635 on at

    Hi @RIYAMROY 

     

    Its a training application for the Blue Prism RPA tool called as Centrix Data Solutions therefore won't be able to share unless it is taken from their training material.

     

    Here is the difference..

     

    The Ui element in Contossa application is a Datagrid

    VJR_1-1637051794607.png

     

     

    Whereas the Ui element in Centrix Data Solutions is a Table

     

    VJR_2-1637051826219.png

     

    Therefore they are giving different results.

     

    I do not need an answer since I do not have this requirement 😊.

    This analysis was only for the sake of the original poster.

     

    But I do need information regarding the screenshots you have posted.

     

    - May I know why is everything showing up twice in the Excel screenshot. Two email, amount, account name etc within the same Excel cell?

    - Secondly, any idea why is there an incorrect mapping between the column headers and their values in the DataTable you have posted.

     

    For example, 

    The Email is showing up in the Amount column and the Date is displayed in the Account name column. Likewise for all others.

     

    Do you see these as bugs and something to report?

     

     

  • dextersl2 Profile Picture
    2 on at

    I am running into this same thing, has anyone figured out a solution?

  • jemoe Profile Picture
    6 on at

    Hi,

    Actually I did find a workaround. 

     

    In my case I always need the last 3 cells. So I extract the data as "normal" and then I turn it to a list. 
    Then I use a little Python script to get the cells I want. 

    Hope it helps you. 

    jemoe_0-1676465877710.png

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 261 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 185

#3
Haque Profile Picture

Haque 168

Last 30 days Overall leaderboard