Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to get % out of total sales

Hi experts,

I want to find the percentage of sales of particular item out of net sales. My data is lyk-

        

      Item              Net Sales           % sales of item

                                  600

        A                        100                      how to calculate dis field

        B                        200                              

        C                        300

Regards

Ali

6 Replies
Kushal_Chawda

try,

sum( total <Item> NetSales)/ sum(total NetSales)

raajaswin
Creator III
Creator III

Hi Larib,

You can do it by using

sales/sum(Total sales)

raajaswin
Creator III
Creator III

Check this qvw

Not applicable
Author

Hi,

You can refer attach qvw to get desired output.

Hope it will resolve your issue.

Regards

HP Sharma

Anonymous
Not applicable
Author

You can try:

=sum(NetSales)/sum(Total NetSales)

manojkulkarni
Partner - Specialist II
Partner - Specialist II

sum(Sales)/ sum(total Sales) or

you can make use of relative option. Expression : Sum(Sales) then check the relative option