Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
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

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