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