Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
ch_riadh
Partner - Creator II
Partner - Creator II

Changing Status Between Period.

Hi

Sales Table:

SalesID,

Month (Oct, Nov)

Status (Invoiced, Sold, Delivered)

I want to display and count the SalesID who have been invoiced or Sold in 'Oct' and Delivered in 'Nov',

the Salesid who change to Delivered in Oct.

count({<Month={'Oct'},Status-={'Delivered'}>}SalesId) ------> not delivered in Oct.

count({<Month={'Nov'},Status={'Delivered'}>}SalesId) ------> Delivered in Nov.

not delivered in Oct. -  Delivered in Nov   -------> will give me all the SalesID.

But I need only the SalesID Del in Nov and not in Oct.


eee.png

I need the display only SalesID 2 and 3.



Thanks

1 Reply
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi try this,

count({<SalesId= p({<Month={'Oct'},Status-={'Delivered'}>}),Month = {"Nov"},Status = {"Delivered"} >}SalesId)


Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!