Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
priyav24
Creator II
Creator II

RE:Calculation of Sub-Total/Sum

Hello Everybody ,

                                   I have an requirement where i need to calculate sub-total divided by Sum..

For example

we have two levels say Division,Brand and Amount..i need to calculate total amount (Division)/amount(brand)..

right now its taking the overall total instead of division-wise total.

Note:I have also attached qvw for reference

Thanks in Advance,

Priya

1 Solution

Accepted Solutions
priyav24
Creator II
Creator II
Author

Finally , got the solution for the calculating the sub-totals / sum ..

Its basically , we need to specify the dimension field for which sub totals to be calculated in angular brackets..

= sum(total <Dimension-Field> Fact-Name)/ Sum(Fact-Name)

View solution in original post

1 Reply
priyav24
Creator II
Creator II
Author

Finally , got the solution for the calculating the sub-totals / sum ..

Its basically , we need to specify the dimension field for which sub totals to be calculated in angular brackets..

= sum(total <Dimension-Field> Fact-Name)/ Sum(Fact-Name)