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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
accrewchief
Contributor II
Contributor II

Sum rows, based on previous rows match

Trying to sum up a data. So I have a column named Tickets, the next column is the amount of that ticket in a number format. I have several tickets with the same ticket number. I want to sum up the total amount of the same ticket number. For example. Ticket # 10 = 200, Ticket # 11 = 300, Ticket # 10= 50. I want a script that will look for duplicate ticket numbers and then add up to give the result in this case of 250. I created an additional column for the data I just am lost on creating it.

 

Labels (1)
1 Solution

Accepted Solutions
dplr-rn
Partner - Master III
Partner - Master III

Why do you need an additional column?
just create a measure Sum(Amount) and use dimension as ticket number.

Please explain in more detail.
You can add another column /table with this rolled up data using resident load and group by. but share more details please

View solution in original post

3 Replies
dplr-rn
Partner - Master III
Partner - Master III

Why do you need an additional column?
just create a measure Sum(Amount) and use dimension as ticket number.

Please explain in more detail.
You can add another column /table with this rolled up data using resident load and group by. but share more details please
accrewchief
Contributor II
Contributor II
Author

good deal, the dimension route worked.

dplr-rn
Partner - Master III
Partner - Master III

good to hear. mark as answered and close the thread