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

Announcements
Share your agentic AI experience, learn from others, and earn a new badge: Put Agentic AI to Work
cancel
Showing results for 
Search instead for 
Did you mean: 
rammuthiah
Creator III
Creator III

Logic to Find Value for Score1 and Score 2

I have to find score based on the logic :

If Customer 1 and A has 'O' in Check, but in Score 2 has 'X', then Score 1 total  should be 'O' and Score 2 total to be X.

Error.JPG

If Customer 1 and A has any 'X' in Check, Then Score 1  and Score 2 total to be X.

Error 1.jpg

Message was edited by: RAM MUTHIAH M

Message was edited by: RAM MUTHIAH M

9 Replies
chinnuchinni
Creator III
Creator III

can please attach the sample data and clear o/p which will you required ?

agigliotti
MVP
MVP

what do you mean with 'A' ?

The Power of shining a light on the dark side of your data.
Follow me on my LinkedIn | Know Gamma Informatica at gammainformatica.it
rammuthiah
Creator III
Creator III
Author

It's just a flag to indicate where the data is from

agigliotti
MVP
MVP

please show us what are the expressions you are using for SCORE1 and SCORE2 columns.

The Power of shining a light on the dark side of your data.
Follow me on my LinkedIn | Know Gamma Informatica at gammainformatica.it
rammuthiah
Creator III
Creator III
Author

Please find attached qvf

agigliotti
MVP
MVP

what is your business logic for SCORE1 and SCORE2 columns?

what is your expected result?

The Power of shining a light on the dark side of your data.
Follow me on my LinkedIn | Know Gamma Informatica at gammainformatica.it
rammuthiah
Creator III
Creator III
Author

That I highlighted in the image in total column as 'O' and 'X'

agigliotti
MVP
MVP

yes I see but what's the logic behind that results ?

The Power of shining a light on the dark side of your data.
Follow me on my LinkedIn | Know Gamma Informatica at gammainformatica.it
rammuthiah
Creator III
Creator III
Author

If A affects 'X' it reflects to 'B'(then Scroe1 and Score2 ->'X') also See 2nd image.

If Adoesn't affect 'O', but B->'X', then Score1 ->'O' and Score2'X'