Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Call a variable in Label?

Hi All,

         Is there any way to call a variable in label?

         I have a bar chart i want a set a variable as my label name

         can u help me

Thanks

9 Replies
tresesco
MVP
MVP

Yes. Have you tried like: =$(VariableName) ? If you have doubt, try to share your sample app.

its_anandrjs

Yes you can can you try like

=$(vYourVariableName)

Or

=vYourVariableName

jagan
Luminary Alumni
Luminary Alumni

Hi Suneel,

You can use variable in Label like below

=VariableName or

=$(VariableName)

Regards,

Jagan.

vijetas42
Specialist
Specialist

Hi,

Try this in your chart's caption tab or windows title like,=$(Variable_Name)

Hope this will help you...

Regards,

Vijeta

Not applicable
Author

Am declared   vcallduration=ivrduration after that i cal a my variable in lable but i can get a null value

SunilChauhan
Champion II
Champion II

use

let ivrduration=formula here;

set vcallduration=ivrduration;

and in level use $(vcallduration)

Sunil Chauhan
its_anandrjs

Then write like

LET  ivrduration = YourScriptHere;

SET vcallduration = ivrduration'

Or

LET  ivrduration = YourScriptHere;

SET vcallduration = $(ivrduration);


Eg:-

LET v1 = now();

SET v2 = v1;

Or

LET v1 = now();

SET v2 = $(v1);

SunilChauhan
Champion II
Champion II

see the attched file

hope this helps

Sunil Chauhan
Not applicable
Author

define the variable first like-

set var=value;

then use this variable in the label of this chart:

use =var

I dont know why =$(var) is not working.

But you can use =var .

Hope it works.

Thanks