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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Mahran
Contributor II
Contributor II

If date exists twice, then do this

Hello, I have the following problem:

I have a table with several columns. One column is a date field and the other column contains numbers with 1 and 2. These numbers come directly from the database.
I would like, if there is a date twice (e.g. here 13.11.2023), then there should be a 3 in the other column.
How can I achieve this?

Mahran_1-1700039629283.png

 

Labels (4)
1 Solution

Accepted Solutions
vincent_ardiet_
Specialist
Specialist

Do you want 3 because this is the cumulated value?
Do you have access to the script or this is something to do in the UI?

View solution in original post

2 Replies
vincent_ardiet_
Specialist
Specialist

Do you want 3 because this is the cumulated value?
Do you have access to the script or this is something to do in the UI?

Mahran
Contributor II
Contributor II
Author

I have found a solution. I calculated a sum from the values and said that if the sum for both numbers is greater than 0, he should write the value there.

Thanks for the answer.