Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
vikas_nandanwar
Creator II
Creator II

How to add custom Year column in data

Hi,

I have transaction date as one of the column

I get auto calendar in my measure field.

I have another sheet with same date but the year should be displayed as Planned year

Like

Sales Transaction date =

2016

2017

Plan Transaction year =

2017

I want Plan Transaction year = 2017P

How to get that?

Thanks,

Vikas

2 Replies
Anil_Babu_Samineni

Not really sure?

[Plan Transaction Year] & 'P' as [Plan Transaction Year]

OR

Load [Sales Transaction Year], 'Sales' as Flag From Sales;

Load [Plan Transaction Year] & 'P as [Plan Transaction Year], 'Plans' as Flag From Sales;

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
pipuindia99
Creator III
Creator III

Hi,

Like this

Sales Transaction date = 2016, 2017

max([Sales Transaction date])&'P' as [Plan Transaction Year]

Plan Transaction year = 2017