Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

meaning of =sum(col1*col2) expression

hi,

can anybody explain how the above expression works?

7 Replies
sunny_talwar

Multiply col1 and col2 at row level and then sum them....

Anonymous
Not applicable
Author

no it showing me some different value

sunny_talwar

I am not seeing what you are... so I don't really know what you mean

Anonymous
Not applicable
Author

sum.png

this is my output, I don't think this is the correct output as you said

sunny_talwar

You seem to have 2 rows for id = 3 and id2 = 4... check the table viewer by pressing Ctrl + T and then right click on your table to click on preview

Anonymous
Not applicable
Author

ohhh yes thank you.

sunny_talwar

If you got what you wanted, I would suggest you to close this discussion by marking correct and helpful responses.

Best,

Sunny