Skip to main content
Question

Convert Excel Table to Flat List

  • January 14, 2020
  • 10 replies
  • 63 views

Good Day,

Still learning and I need help on this. THANKS A LOT IN ADVANCE

HAVE THIS

 

DMDLOCD6_1_2020D1_13_20D1_20_2012039GDL0.1980.2010.28412039MEX1.1811.2011.6912039MTY0.8950.911.28112039TIJ1.2761.2390.297

 

First Row is Headers

NEED THIS

 

12039GDLD6_1_20200.19812039GDLD1_13_200.20112039GDLD1_20_200.28412039MEXD6_1_20201.18112039MEXD1_13_201.20112039MEXD1_20_201.6912039MTYD6_1_20200.89512039MTYD1_13_200.9112039MTYD1_20_201.28112039TIJD6_1_20201.27612039TIJD1_13_201.23912039TIJD1_20_200.297
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.

10 replies

jdh
Contributor
Forum|alt.badge.img+37
  • Contributor
  • 2002 replies
  • January 14, 2020

I would think an AttributeExploder would do most of what you want.

Takashi's answer in https://knowledge.safe.com/questions/65491/passing-a-table-to-the-attributeexploder-but-keepi.html is a good starting point.


robotix
Contributor
Forum|alt.badge.img+10
  • Contributor
  • 33 replies
  • January 14, 2020

@dkus2001 Are the source column names always consistent?


  • Author
  • 9 replies
  • January 15, 2020

@dkus2001 Are the source column names always consistent?

Hi Robotix,

Thanks for answering. Those are headers that are going to be changing because they are dates. But I am happy if I can arrive to an answer on how to do it. I have played with the exploder but to be honest after long hours I have not come to a way to do it. I am not an expert.


  • Author
  • 9 replies
  • January 15, 2020

I would think an AttributeExploder would do most of what you want.

Takashi's answer in https://knowledge.safe.com/questions/65491/passing-a-table-to-the-attributeexploder-but-keepi.html is a good starting point.

Thank you jdh for answering. I will try to play with that.


robotix
Contributor
Forum|alt.badge.img+10
  • Contributor
  • 33 replies
  • January 15, 2020

@dkus2001 Are the source column names always consistent?

@dkus2001

DenormalizeExcel_Example.fmw I just had the same issue but my columns were static. Find the solution in the attached.

You would have to refresh your reader and re-select the columns but this may help you down the path. I created a simple spreadsheet with your example. Then I fed it in and selected the relevant columns in the attribute keepers.


robotix
Contributor
Forum|alt.badge.img+10
  • Contributor
  • 33 replies
  • January 16, 2020

@dkus2001 Are the source column names always consistent?

This may give you a better idea of how it works.


  • Author
  • 9 replies
  • January 16, 2020

This may give you a better idea of how it works.

Robotix,

Than you SO MUCH for the time you devoted to the answer. IT IS SO VERY APPRECIATED..!! I will try I will go back. Many Many Thanks..!!


  • Author
  • 9 replies
  • January 16, 2020

This may give you a better idea of how it works.

When I said I was going to test I meant understand. I am pretty sure that it works. You are so talented..!!


  • Author
  • 9 replies
  • January 16, 2020

@dkus2001 Are the source column names always consistent?

Robotix

Thank you very much for your. It works perfectly as expected. Again I am very grateful for your help and time...!!!

One day I might know half of what you know..!!

:-)


robotix
Contributor
Forum|alt.badge.img+10
  • Contributor
  • 33 replies
  • January 17, 2020

@dkus2001 Are the source column names always consistent?

That's great! Glad I could help out.