Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Two conditions on one Field in defined period

Hello all,

I want to analyse a changelog, data like this:

count distinct [changes with "Change_Field Name" = "Branch" and "New Value" = 'meow' where there has been no change to "New Value" = 'woof' in period (date when last changed to 'meow') - 3 month until now.] over all values in key_field

This example:

result:

row 1 and 4 suffice condition1: change to "meow"

last change was at 18.02.2011 -> search for a change to "woof" from 18.11.2010 until now -> row 3 found

-> result is 0 for Key_Field "key123"

Would you aggregate the data in the script or can i do it with an expression in the dashboard (formula in table)?

Thanks in advance, Christian

Key_FieldDateEntry NoChange_Field NameOld ValueNew Value
key12307.02.201127642Branchmeow
key12307.02.201127644ABCC
key12311.02.201130287Branchmeowwoof
meow18.02.201132214Branchwoofmeow
0 Replies