Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
brunoducatti
Creator
Creator

Formatação de Campo

Tenho um arquivo csv que recebo um layout de um fornecedor e não consigo extrair a data do campo equivalente a data.

Anexo o exemplo do arquivo e do qvw.

Já tentei com date, date#, timestamp, timestamp#

Obrigado!

Labels (1)
1 Solution

Accepted Solutions
afurtado
Partner Ambassador/MVP
Partner Ambassador/MVP

LOAD

     date(date#(left(calldate,10),'YYYY-MM-DD'))   as calldate,

     Date(Monthstart(calldate), 'MM-yyyy') as anomes,

     Date(Monthstart(timestamp(timestamp#(calldate,'MM/DD/YYYY h:m'))), 'MM-yyyy') as anomes1

FROM..............

furtado@farolbi.com.br

View solution in original post

1 Reply
afurtado
Partner Ambassador/MVP
Partner Ambassador/MVP

LOAD

     date(date#(left(calldate,10),'YYYY-MM-DD'))   as calldate,

     Date(Monthstart(calldate), 'MM-yyyy') as anomes,

     Date(Monthstart(timestamp(timestamp#(calldate,'MM/DD/YYYY h:m'))), 'MM-yyyy') as anomes1

FROM..............

furtado@farolbi.com.br