I have the following data:
For each ID, I would like to add Revenue for Line_Num 300 and 2500 together. Basically, I am trying to create another variable with added values for each ID for the two line numbers. Please suggest how can I do that?
Thank you!
ID | Line_Num | Revenue |
1 | 300 | 5000 |
1 | 2500 | 10000 |
2 | 300 | 6000 |
2 | 2500 | 7000 |
Thank you!
Comment