
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Business case
Hi all,
i want below into Qlik language like sample way to calculate the below logic can anyone help me?
Calculate Total Service Margin/Total ServiceRK ?
Thanks
Sony
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sum([Service Margin]) / Sum(ServiceRK)
or
Sum(TOTAL [Service Margin]) / Sum(TOTAL ServiceRK)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sum([Service Margin]) / Sum(ServiceRK)
or
Sum(TOTAL [Service Margin]) / Sum(TOTAL ServiceRK)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can use like this also:
Sum(Sales)/Sum(TOTAL Sales) - returns the share within the selection
Sum(Sales)/Sum(TOTAL <Month> Sales) - returns the share within the selection for each Month

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks bala,
what is the Total will do here?
could you please explain me with simple way?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As i given an example in the above:
TOTAL qualifier means that the calculation will be made over all possible values given the current selections, but disregarding the chart dimension values.


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, please read help for SUM function in Qlik:
