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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Power Automate flow -c...
Power Apps
Unanswered

Power Automate flow -create CSV table - custom columns - doesn't recognize the column name

(0) ShareShare
ReportReport
Posted on by 5

I have a flow that get the data from "Run a query against a dataset". Then I create a CSV table. Then Export it to google drive. In Create CSV table, if I choose Columns as Automatic, in the csv file generated in google drive, it contains all the columns but columns are not in the order from "Run a query against a dataset". So in Create CSV table, I changed Columns to Custom. Then I starts creating Header and Value for all the columns in the order. All the other columns works fine except one column [4_Phase_No] that it can not recognized it. 

The error code is something like this

The execution of template action 'Create_CSV_table' failed. The column values could not be evaluated: 'The template language expression 'item()['[4_Phase_No]']' cannot be evaluated because property '[4_Phase_No]' doesn't exist, available properties are '[1_IT_Budget_Year], [2_Product], [3_Product_Name], [5_Phase_Name], [6_Phase_Type], [8_Client_Group], [9_Employee_Name], [10_Phase_Type_Code], [11_Nb_Days], [12_Amount]'. Please see https://aka.ms/logicexpressions for usage details.'.

But the column [4_Phase_No] is in the INPUTS of Create CSV table

LiZhu_0-1679592705926.png

I couldn't figure it out why. Hope someone  can help. 

Thanks!
Li

Categories:
I have the same question (0)
  • Verified answer
    CU-18081211-6 Profile Picture
    9,270 Moderator on at

    @LiZhu ,

    Can you try 

     

    item()?['[4_Phase_No]']

     

    and check the outputs to see the results ?

     

  • LiZhu Profile Picture
    5 on at

    That works 🙂

    The ? makes a difference!

     

    Thanks!

     

    Li

  • HamzaAli Profile Picture
    6 on at

    Hi,

     

    I'm stuck with same query, can you please share the idea how did you create column headers and values?

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard