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 / Can't extract data fro...
Power Automate
Answered

Can't extract data from data table - Solution: Turn off PowerFX Features

(2) ShareShare
ReportReport
Posted on by 19
I wasn't sure about category so I put Process Advisor.
 
-------
 
I'm new to PAD. I'm trying to extract data from a CSV and output it into a web form.
 
For now I'm just trying to extract data from a CSV file and display it in a message using the Display Message action.
 
I've used "Read from CSV file" to import the CSV data. This seems to have worked. It's my understanding that it produces a Data Table. I can print the entire data out to a message, but I can't seem to extract certain cells or rows for example. Every notation I've tried has failed.
 
I tried Set Variable as below, but this just prints the letters in the value box rather than what it points to. I also tried using [0][0] instead of the exact column name, but the result is the same. 
 
 
So how do I print out cell A3 or row 1?
 
 
 
 
I have the same question (0)
  • Verified answer
    Deenuji_Loganathan_ Profile Picture
    6,250 Moderator on at
    Hi There,
     
    Ideally it should work if we mention %datatable[0][0]% - it will display first row and first column value.
    Below code working fine for me.
    You can also use a "For Each" loop to iterate through your datatable and read row values.
     
    If you are still encountering issues after following the above code, ensure that the desktop flow is created with Power Fx disabled, as this feature can sometimes cause problems when using normal syntax after enabling the Power Fx flow.

     
    Thanks,
    Deenuji Loganathan 👩‍💻
    Power Automate Desktop Community Champion 🤖
     
  • DC-04061401-0 Profile Picture
    19 on at
    The format you used does not work for me. Here are my steps using screenshots. Private data was deleted from the 1st screenshot.
     
    Read from CSV file Action:
     
    The Display Message Action:
     
    Result and steps:
     
     
     
     
     
     
     
     
     
     
     
    ..
  • Suggested answer
    VishnuReddy1997 Profile Picture
    2,656 Super User 2026 Season 1 on at
     
     Please find the solution as shown in below image. You just gave double quotes inside the square bracets.
     
    Method 1;
     
    Method 2:
     
     
    Regards,
    Vishnu Reddy
     
     
  • Suggested answer
    Deenuji_Loganathan_ Profile Picture
    6,250 Moderator on at
    Hello,
     
    can you create a new flow and disable the power fx and try with same action and syntax and make sure you have mention only variable without single and doubles quotes.
     
     
    And also have you tried for each method as mentioned in previous response.
    Thanks,
    Deenuji Loganathan 👩‍💻
    Power Automate Desktop Community Champion 🤖
    -----------------------------------------------------------------------------------------------------------
  • DC-04061401-0 Profile Picture
    19 on at
     - please could you show what you put in the box for Display Message?
     
     - I already tried the % format as mentioned, but it does not work. I will try with power fx disabled as you suggested if I can't find any other solutions thanks.
  • Suggested answer
    Deenuji_Loganathan_ Profile Picture
    6,250 Moderator on at
    Hello there,
     
    Got your issue from your screenshot!! So you have created flow with power fx enabled option.
     
    please create new flow as like below attached screenshot(power fx disabled option) and try with same syntax it should work now.
     
    if my suggestions helps to resolve your issue, consider check “Does this answer your question?” checkbox to close this topic. Thank you
     
     
     
    IMG_7535.png
  • Suggested answer
    VishnuReddy1997 Profile Picture
    2,656 Super User 2026 Season 1 on at
     
    Please find the solution. Title is my header in csv table and please check whether you enabled headers option in read csv table action.
     
     
     
    Regards,
    Vishnu Reddy
  • DC-04061401-0 Profile Picture
    19 on at
    So it's working now that I've disabled the Power Fx features in a new flow. That's a really annoying issue, but at least there is a way around it until I need Power FX capability. Thanks for the tip Deenuji.
  • Verified answer
    Deenuji_Loganathan_ Profile Picture
    6,250 Moderator on at
    Hi there,
     
    Since you interested on power fx please find the below syntax.
     
    With Power Fx you can read cell item with ReadCell(DataTableName, RowIndex, ColumnIndex)
     

    In your example:

    =ReadCell(DataTable, 1, 2)


     
    Thanks,
    Deenuji Loganathan 👩‍💻
    Power Automate Desktop Community Champion 🤖
    ------------------------------------------------------------------------------------------------------------

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 589

#2
Valantis Profile Picture

Valantis 459

#3
11manish Profile Picture

11manish 382

Last 30 days Overall leaderboard