Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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