Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
FelipeOliveira
Contributor II
Contributor II

Tabela de Excel que muda o nome da Aba, como consultar?

Prezados, tudo bem? 

 

Estou com dificuldades de consultar uma tabela de Excel que constantemente muda o nome da Aba(Sheet), a tabela é atualizada por RPA e cada atualização muda o numero destacado:

FROM [lib://OneDrive Qualidade - BMG/BMG - B.I/BASES - REPORT/CONSOLIDADO/SLIDE 7 - MENSAGENS.xlsx]
(ooxml, embedded labels, header is 1 lines, table is [RelatorioGerencial (80)]);

Existe uma forma de realizar a consulta mesmo com o numero alterando constantemente?]

desde ja, agradeço

Labels (2)
1 Solution

Accepted Solutions
ArnadoSandoval
Specialist II
Specialist II

Hi @FelipeOliveira 

Please check this topic: Dynamic header size in a load script 

Hope this helps,

Arnaldo Sandoval
A journey of a thousand miles begins with a single step.

View solution in original post

2 Replies
ArnadoSandoval
Specialist II
Specialist II

Hi @FelipeOliveira 

Please check this topic: Dynamic header size in a load script 

Hope this helps,

Arnaldo Sandoval
A journey of a thousand miles begins with a single step.
FelipeOliveira
Contributor II
Contributor II
Author

@ArnadoSandoval  Muito Obrigado!  apenas adaptei sua solução  a minha necessidade : 

funcionou perfeitamente do seguinte modo :

Set vLoadSpec = '(ooxml, embedded labels, header is 1 lines, table is '&[(vSheetName)]& ')';
Set vSheetName = RelatorioGerencial*;

Let rtLoadSpec = $(vLoadSpec);


LOAD
"Cód. Causa",
Assunto,
"Dt. Envio",
Lida,
"Recurso Origem",
"Recurso Destino"
FROM [lib://OFICINA/SLIDE 7 - MENSAGENS.xlsx]
$(rtLoadSpec);