Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

pradosh_thakur
Honored Contributor II

Re: How field name change according to selection?

try this

get all the  distinct year-month values in the script and assign them 1 to N in ascending order. I mean to say creat a dual field something like

load yearmonth,dual(year-month,value) as abc

value should be 1 to n and should be different for all  months .

in the labels

use

text(concat(value))  or you can use getfield selection as well   --1st expression

text(concat(value)+1)    --2nd expression

.

.

.

.

try this out and let me know if it works.

Learning never stops.
luismadriz
Valued Contributor

Re: How field name change according to selection?

hi Wajiha, just wondering how did you finally go about this,

Please let me know,

Cheers,

Luis

wajihakhan
New Contributor III

Re: How field name change according to selection?

Hi Luis,

Yes your solution works fine.

Thanks a lot