Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Calulating MQT using asoftable issue for latest month

Hi all,

I am calculating MQT in one of my application using asoftable.

The problem is i have multiple countries where there is missing latest month sales where as some has latest month sales.

so when i am calculating the mqt sales it blindly summing up last three month sales..

I want the mqt should calculate only for those countries having latest month data.

Attached is the sample application.

Thanks is advance.

Ashish

Labels (1)
1 Solution

Accepted Solutions
sushil353
Master II
Master II

Hi,

You can try to use below expression:

if(count({<MonthDiff={"<3"}>}MonthDiff)<3,null(), sum({<IsRolling3={1}>}Sales))

HTH

sushil

View solution in original post

1 Reply
sushil353
Master II
Master II

Hi,

You can try to use below expression:

if(count({<MonthDiff={"<3"}>}MonthDiff)<3,null(), sum({<IsRolling3={1}>}Sales))

HTH

sushil