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: 
DamianoD
Contributor II
Contributor II

Compare a Measure between two YearMonth Dates with alternate states

Hi everybody,

I'm trying to create a measure that gives me the sum between two selected yearmonth dates with alternate states, but I cannot get the result with set expression.

Let's suppose we have two date selected, 202201 and 202205; I have achieved the sum of this two punctual dates with

sum({[Date A]}num_oda_line_num) + sum({[Date B]}num_oda_line_num)

But I'm not able to write the correct set expression for getting the sum of num_oda_line_num between 202201 and 202205 included.

The column for dates is named cod_year_month.

Thanks,

D

Labels (6)
0 Replies