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: 
NEHAD
Contributor II
Contributor II

Please help to solve where condition

FinalEDW AS(
select 
PolicyNumber
,InsuranceProduct
,AgencyNumber
,WrittenPremium
,TransactionType 
,AgentNumberCombined
,TransactionNumber
,clunderwritername
,clunderwritingteam
,AgencyName
,NewBusinessPremium
,FieldAreaNo
,AgencyDimensionIdNew
,AccountingDts
,NewBusinessDate
,PolicyProcessDts
,PolicyEffectiveDts
,RawNewBusiness
,PolicyInceptionDtsEDW as InceptionDate
,Cancelled
,TransactionEffectiveDts
,PolicyCancelDate
from Cancel3EDW
where PolicyNumber not in ( select PolicyNumber from CancelledEDW ) 
)

Labels (1)
1 Solution

Accepted Solutions
PrashantSangle

what help do you need in this??

in qlik it is very simple

1st Load Policy Number from CancelEDW

then Load data from Cancel3EDW use where not exist condition for not to load Policy number which in CancelEDW

then Drop table CancelEDW

You Script might be like

CancelEDW:

Load PolicyNumber from CancelEDW;

NoConcatenate

Cancel3EDW:

Load * from Cancel3EDW where not exists(PolicyNumber,PolicyNumber);

Drop table CancelEDW;

 

Regards,

Prashant Sangle

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

View solution in original post

2 Replies
NEHAD
Contributor II
Contributor II
Author

Can someone help as it's quite a urgent task.

PrashantSangle

what help do you need in this??

in qlik it is very simple

1st Load Policy Number from CancelEDW

then Load data from Cancel3EDW use where not exist condition for not to load Policy number which in CancelEDW

then Drop table CancelEDW

You Script might be like

CancelEDW:

Load PolicyNumber from CancelEDW;

NoConcatenate

Cancel3EDW:

Load * from Cancel3EDW where not exists(PolicyNumber,PolicyNumber);

Drop table CancelEDW;

 

Regards,

Prashant Sangle

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂