Qlik Community

Qlik DataMarket Discussions

Discussion Board for collaboration regarding Qlik DataMarket.

12r01a0517
New Contributor II

Set statement.

Hello All,

Could any one of you please explain the working of below statement.

SET f_month_difference = NUM(((YEAR($2) * 12) + MONTH($2)) - (((YEAR($1) * 12) + MONTH($1))) + 1);

what is YEAR($2), Month($2)  an dhow is taking the values ??

Thanks and Regards,

Supriya.

2 Replies
sitrakiniaina_j
Contributor II

Re: Set statement.

MVP
MVP

Re: Set statement.

Community Browser