Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
DamianoD
Contributor
Contributor

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