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

Call a Variable in Label!!!!!!

HI All,

           I want a cal variable  in my label but the thing is my label is Dynamically changes how u can create for that one

           can u plzzzzz help me

Thanks

5 Replies
Not applicable
Author

your requirement is not clear. can you explain a bit more possibly with some data?

jagan
Luminary Alumni
Luminary Alumni

Hi,

In label text box just give

=variableName

or

=$(variableName)

This will work, if this is not you are expecting then come up with an example.

Regards,

Jagan.

Not applicable
Author

DImlabel
cvi_remarks
remarks
startdate
date
IVRDURATION
Duration

see I have Dim And Label when am using cvi_remarks i want show the label remarks only like. that...............

i don't want hard code  by using the variable it self we can do 

How it is?

jagan
Luminary Alumni
Luminary Alumni

Hi,

Can you attach some sample file, it helps to give solution quickly.  How you are using the Dimension?  Are you using any Cyclic or drill down group? 

Try this expression

=Only({<DIm={'startdate'}>} DIm) this will give you date as label, if you have table with DIm and label columns.

Regards,

Jagan.

nirav_bhimani
Partner - Specialist
Partner - Specialist

HI ,

If you have limited dimension then you can use the if startement for that

Eg.

If((Dim='cvi_remarks','remarks',Dim='startdate', 'date',Dim='IVRDURTION','Duration' )

Regards,

Nirav Bhimani