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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
mahfuz
Contributor
Contributor

If condition with dynamic value

i want to check two field value and sum another field.

if ( count x = count y) then sum(distinct amount)

 

How can i do this ?

Labels (1)
2 Replies
Taoufiq_Zarra
MVP
MVP

@mahfuz  in Script ? can you upload a sample data and the expected ?

you can use for example

Data:

 

load

...

left join load ..

if ( count x = count y) then sum(distinct amount) resident Data group by ...

Regards,
Taoufiq ZARRA

"Please LIKE posts and "Accept as Solution" if the provided solution is helpful "

(you can mark up to 3 "solutions") 😉
mahfuz
Contributor
Contributor
Author

 

mahfuz_0-1614003881394.png