
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Como transformar multiplos dados de linhas em multiplas colunas para um id igual
Olá pessoal!
Segue a minha dúvida:
Eu tenho os seguintes dados:
id data
1 01/02/2016
1 03/02/2016
1 05/02/2016
2 11/02/2016
2 21/02/2016
2 22/02/2016
e quero converter no seguinte formato:
id data1 data2 data3
1 01/02/2016 03/02/2016 05/02/2016
2 03/02/2016 21/02/2016 22/02/2016
Agradeço se puderem me ajudar
- Tags:
- Group_Discussions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You need a third column, then use it in SetAnalysis achieve your goal.
If a post helps to resolve your issue, please accept it as a Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Amigo, segue.
Row values as fields (opposite of crosstable?)
https://www.linkedin.com/in/mariosergioti

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mauricio,
try this
Generic
LOAD id,'data'&AutoNumber(RowNo(),id) as D1,data Inline [
id, data
1, 01/02/2016
1, 03/02/2016
1, 05/02/2016
2, 11/02/2016
2, 21/02/2016
2, 22/02/2016
];
Regards,
Antonio

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you Michele!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you Antonio!
