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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
prabuj
Contributor III
Contributor III

sum the records based on ID column and give a output

Hi Team @rhall

I want to add the records based on the first column:

Input:

 

|190  |test1      |2    |

|190  |test2      |1    |

|290  |test3      |1    |

|290  |test4      |2    |

|190  |test5      |1    |

|190  |test6      |1    |

|290  |test7      |2    |

|290  |test8      |1    |

|290  |test9      |1    |

'------+-----------------+-

Required Output

|190  |test1      |5    |

|190  |test2      |5    |

|290  |test3      |7    |

|290  |test4      |7    |

|190  |test5      |5    |

|190  |test6      |5    |

|290  |test7      |7    |

|290  |test8      |7    |

|290  |test9      |7   |

'------+-----------------+-

Thanks,

Prabuj

Labels (5)
1 Reply
Mahamoutou
Contributor III
Contributor III

Here is a way to go :

0695b00000IciBLAAZ.png0695b00000IciBuAAJ.png0695b00000IciBzAAJ.png0695b00000IciCEAAZ.png0695b00000IciCOAAZ.png0695b00000IciCTAAZ.png0695b00000IciCYAAZ.png0695b00000IciCdAAJ.png0695b00000IciCnAAJ.png0695b00000IciCsAAJ.png