Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
bharatkishore
Creator III
Creator III

remove multiple months

Hi All,

I have written the following code to get month in script

Date(Makedate((LEFT(Period,4)),(Right(Period,2)),01),'MMM') as Month

But i am getting repetitive months. like Jan,feb..dec again jan,,feb..dec

Can you please help me how to remove those.

Thanks,

Bharat

1 Reply
vamsee
Specialist
Specialist

Can you provide a sample of your field Period?

Also, try

Month(Makedate((LEFT(Period,4)),(Right(Period,2)),01))

or

Month(Date#(MakeDate((LEFT(Period,4)),(Right(Period,2)),01)))