Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Olá pessoal, tudo bem?
Tenho um sql com um count(*) que pega e um campo apelidado para ele, parece que meu Qlik não está reconhecendo esse apelido.
Acredito ser alguma falha minha, algum detalhe:
Segue print
E o Script que estou usando:
DENOMINDADOR_30D:
LOAD
COD_NUM, totalDen;
SQL
select extract(year from(a.dt_atendimento)) || lpad(extract(month from(a.dt_atendimento)),2,0) COD_NUM, count(*) totalDen
try in uppercase totalden
if doesn't work try
load *;
SQL select extract(year from(a.dt_atendimento)) || lpad(extract(month from(a.dt_atendimento)),2,0) COD_NUM, count(*) totalDen;
reload and open the table viewer to see the fields name, then change the load according to field names
try in uppercase totalden
if doesn't work try
load *;
SQL select extract(year from(a.dt_atendimento)) || lpad(extract(month from(a.dt_atendimento)),2,0) COD_NUM, count(*) totalDen;
reload and open the table viewer to see the fields name, then change the load according to field names
Resolvido! Thank you!