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

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
cancel
Showing results for 
Search instead for 
Did you mean: 
chiranjivdas
Contributor III
Contributor III

How to add totals to expression that has condition?


I have an expression with condition

=if([Division]='Electronics',if([Fiscal Quarter]='2013-4',sum([USD Product Bookings]),0),0)

The expression works fine but i am unable to add totals by using Presentation - Show Partial Sums

How do I add totals?

Thanks,

CD

1 Solution

Accepted Solutions
ecolomer
Master II
Master II

Try this:

=Sum(if([Division]='Electronics',if([Fiscal Quarter]='2013-4',sum([USD Product Bookings]),0),0))

View solution in original post

1 Reply
ecolomer
Master II
Master II

Try this:

=Sum(if([Division]='Electronics',if([Fiscal Quarter]='2013-4',sum([USD Product Bookings]),0),0))