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

Announcements
FLASH SALE: Save $500! Use code FLASH2026 at checkout until Feb 14th at 11:59PM ET. Register Now!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Compare previous months data

Hi Guys, Any suggestion on the below.

Need to pick the ID from current month and check if the performance is red for the past 3 months, and mark as Y in the current month if it is Red for the past 3 months continuously.

Output table must have only current month data. History data is only for comparison and it must not be present in the dashboard.

Data:

   

REPORTING_PERIODIDPerformance
30/11/2017100Green
31/12/2017100Red
31/01/2018100Red
28/01/2018100Red
31/01/2018100Red
31/12/2017200Green
31/01/2018200Red
28/01/2018200Red
31/01/2018200

Red

Output:

REPORTING_PERIODIDPerformancePast3Months Red Flag
31/01/2018100RedY
31/01/2018200RedN

Thanks.

0 Replies