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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
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

Labels (1)
1 Reply
kaushiknsolanki
MVP
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!