I wanted to know is there any sum function in alteryx under formula tool bar?
there is a Summarize tool which allows you to, amongst other things, sum down a column.
https://help.alteryx.com/current/designer/summarize-tool
if you want to keep both the original data and the sum, e.g. show a total below, you can use a Union tool to combine.
dawn