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 Automate / Handling Excel header ...
Power Automate
Answered

Handling Excel header on two lines

(0) ShareShare
ReportReport
Posted on by 11

Hi.
I have an interesting situation. 
I need to update an Excel table with some data from another Excel.
When I try to map rows in step "Add a row into a table", I have difficulties with some column names.
I am pulling items from step "Filter array" with an expression like this: 

 

 

 

items('Apply_to_each_row')?['Column1']

 

 

 

 but when I try to use it for a column that has the header on two lines, flow is just ignoring those columns.

I tried to paste the name as it is on 2 lanes, then to put it on only one name, and using the name like is in the output from "Filter array" that looks like this 

 

 

 

Text one \ntext two kg

 

 

 

 but no luck so far. Is there a special way to handle this situations?


Column1Column 2
Text one
text two kg
AbcdBcde100

 

Screenshot 2022-08-09 174317.png

Categories:
I have the same question (0)
  • Verified answer
    v-bofeng-msft Profile Picture
    on at

    Hi @norocdinu ,

     

    Please try:

     

    ['Text one
    text two kg']
     
    Best Regards,
    Bof
  • Verified answer
    norocdinu Profile Picture
    11 on at

    Thank you for your suggestion. I have tried this with no success. However I solved the problem with an intermediary step. I parsed JSON and that gave me the column names in the dynamic content window which I used to add rows to a table.

     

    Screenshot 2022-08-22 114902.png

  • Thomas Luo Profile Picture
    Microsoft Employee on at

    You have to change the mode to text mode, then you can input like @item()?['Financial \nYear 1'] 

    ThomasLuo_0-1670230898772.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

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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard