Skip to main content
Solved

attribute names on the 3rd row

  • June 29, 2018
  • 3 replies
  • 87 views

I have an Excel file which has the header on the 3rd row. The first and second rows have additional information. My actual data values start from row 4.

Is there any way in FME to remove the first two rows and use the 3rd row for attribute names?

I have attached my example file.

Thanks in advance.

Best answer by andreaatsafe

Hi @ghma1011,

You can set this when you are adding the Excel Reader. In the parameters settings, you can specify the Field Name Rows and the Cell Range for the data you are wanting to read:

 

Hope this helps!

- Andrea

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

andreaatsafe
Safer
Forum|alt.badge.img+15
  • Safer
  • Best Answer
  • June 29, 2018

Hi @ghma1011,

You can set this when you are adding the Excel Reader. In the parameters settings, you can specify the Field Name Rows and the Cell Range for the data you are wanting to read:

 

Hope this helps!

- Andrea


Forum|alt.badge.img
  • November 18, 2019

Hi @ghma1011,

You can set this when you are adding the Excel Reader. In the parameters settings, you can specify the Field Name Rows and the Cell Range for the data you are wanting to read:

 

Hope this helps!

- Andrea

For some reason, I am doing this, but it is still pulling from the first row?


andreaatsafe
Safer
Forum|alt.badge.img+15

For some reason, I am doing this, but it is still pulling from the first row?

Hi @morijlumos,

It appears that you may have changed the source file than what was originally used to create the Excel Reader Feature Type.

I would suggest adding a new Excel Reader, specify the field names etc for how you have it and then ensure you specify the "Multiple File Parameters" to "Use Current Settings". So that if you change the source file, you will be able to read the file provided it has the same schema.

 

Hope that helps!

- Andrea