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: 
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

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