Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
suvechha_b
Creator III
Creator III

Need Assistance.

Hi ,

My requirement is  to transform the below expression with set analysis expression

count( DISTINCT if(Deal.typeOfSale <> 'Aftermarket' and ( Deal.bodyInsuranceIncomeTick <> '0' or Deal.compInsuranceIncomeTick <> '0' or Deal.depositCoverIncomeTick <> '0' or Deal.inflationProtectorIncomeTick <> '0' ) , Deal.batch_ref))

Please kindly confirm the correct set analysis expression of the given sample -

I tried this , I am not sure about the 'and' and 'or' condition written correctly

Count(DISTINCT {<Deal.typeOfSale -= {'Aftermarket'} ,Deal.bodyInsuranceIncomeTick-={'0'} , Deal.compInsuranceIncomeTick-={'0'}, Deal.depositCoverIncomeTick-={'0'}, Deal.inflationProtectorIncomeTick-={'0'}>} Deal.batch_ref)

Thanks,

1 Solution

Accepted Solutions
PrashantSangle

just modifying above expression

Count(DISTINCT {<Deal.typeOfSale -= {'Aftermarket'} ,Deal.bodyInsuranceIncomeTick-={'0'}>

+

<Deal.typeOfSale -= {'Aftermarket'} ,Deal.compInsuranceIncomeTick-={'0'}>

+

<Deal.typeOfSale -= {'Aftermarket'} ,Deal.depositCoverIncomeTick-={'0'}>

+

<Deal.typeOfSale -= {'Aftermarket'} ,Deal.inflationProtectorIncomeTick-={'0'}>}

Deal.batch_ref)

Regards,

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
jaumecf23
Creator III
Creator III

I think you need to use this:

Count(DISTINCT {<Deal.typeOfSale -= {'Aftermarket'} ,Deal.bodyInsuranceIncomeTick-={'0'}>}

+

{<Deal.typeOfSale -= {'Aftermarket'} ,Deal.compInsuranceIncomeTick-={'0'}>}

+

{<Deal.typeOfSale -= {'Aftermarket'} ,Deal.depositCoverIncomeTick-={'0'}>}

+

{<Deal.typeOfSale -= {'Aftermarket'} ,Deal.inflationProtectorIncomeTick-={'0'}>}

Deal.batch_ref)

PrashantSangle

just modifying above expression

Count(DISTINCT {<Deal.typeOfSale -= {'Aftermarket'} ,Deal.bodyInsuranceIncomeTick-={'0'}>

+

<Deal.typeOfSale -= {'Aftermarket'} ,Deal.compInsuranceIncomeTick-={'0'}>

+

<Deal.typeOfSale -= {'Aftermarket'} ,Deal.depositCoverIncomeTick-={'0'}>

+

<Deal.typeOfSale -= {'Aftermarket'} ,Deal.inflationProtectorIncomeTick-={'0'}>}

Deal.batch_ref)

Regards,

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 🙂