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: 
nareshthavidishetty
Creator III
Creator III

Year format

I have year format as 5024 ,5048,5049.I need to convert it as 'YYYY'.

11 Replies
sunny_talwar

Where did it come from? Outside QlikView what would 5024 correspond to in YYYY?

Anonymous
Not applicable

Did you try with Year()??

Chanty4u
MVP
MVP

try year()

if not chk below

On Format Codes for Numbers and Dates

nareshthavidishetty
Creator III
Creator III
Author

Hi it came from AS400

Logic used in qlikview

year(FCST) as Year  it gives 5024...

sunny_talwar

Can you share the data within FCST?

What do you see when you do

LOAD FCST

FROM Source

nareshthavidishetty
Creator III
Creator III
Author

Am getting like

1141209

1141210

1141211

1141212.............

HirisH_V7
Master
Master

Hi,

Check this ,

Get the Dates Right

Post Sample data.!

-Hirish

HirisH
“Aspire to Inspire before we Expire!”
nareshthavidishetty
Creator III
Creator III
Author

Expression used to covert FCFSDT into date format

Date(AddYears(Date(Date#('19'&Right(FCFSDT,6),'YYYYMMDD'),'DD/MM/YYYY'),100*Left(FCFSDT,1)),'M/D/YYYY') as webAppSubmittedDate

nareshthavidishetty
Creator III
Creator III
Author

I have converted this into date year but am facing the issue as below.I need to remove duplicates

Untitled.png