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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
ecabanas
Creator II
Creator II

Variable question

Hi,

I have a set analisys:

sum({<CalendarMonthName=>}Revenues)

I want to replace CalendarMonthaName by a Variable. This variable could be CalendarMonthName_C=   or CalendarMonthName=

Anyone could help to me?

Many thank's

Eduard

Labels (1)
1 Solution

Accepted Solutions
Not applicable

Hi,

Can't you use a boolean Variable(True/False) and use it like that:

if(Variable=True, sum({<CalendarMonthName=>}Revenues),sum({<CalendarMonthName_C=>}Revenues)

Philippe

View solution in original post

3 Replies
Not applicable

Hi,

Can't you use a boolean Variable(True/False) and use it like that:

if(Variable=True, sum({<CalendarMonthName=>}Revenues),sum({<CalendarMonthName_C=>}Revenues)

Philippe

ecabanas
Creator II
Creator II
Author

yesss many thank's Phillipe

Not applicable

You're welcome