Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Compare the two Years in the table and display the records not in 2014

 

I have to compare the values of 2013 and 2014 in (STD_DT )and the resulting table
should display the find the missing NCKID in 2014 .

Please find the attached qvw

3 Replies
sasikanth
Master
Master

HI senthil

try some thing like this

if( if(Right(STD_DT,4)<2014,NCKID)= if(Right(STD_DT,4)<2015,NCKID),NCKID,null())

Hope this will help u

sujeetsingh
Master III
Master III

Kumar,

I will suggest you to do the handling in script rather then going to UI

tresesco
MVP
MVP

Better to do it in the script. Otherwise for front end:

=Concat( distinct {<NCKID=P({< STD_DT={"=year(Date#(STD_DT,'DD-MM-YYYY'))=2013"}>})> - <NCKID=P({<STD_DT={ "=year(Date#(STD_DT,'DD-MM-YYYY'))=2014"}>})>} NCKID,',')           

PFA