Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

ignoring dimensions into expression

Dear all,

is it possible to ignore the dimension into a calculated expression ?

What I'm trying is this:

Year Month   Customer     Sales          %

2012  10          AAA          1500          12              

...

The % is calculated as   sales/total sales for year and month, ignoring the customer dimension

Sales represents the total sales per customer, on October 2012. Year and Month are selected values by list boxes. The dimension is CUSTOMER

Any help is reallu appreciated

Thanks in advance for your help

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

If you have a chart with dimensions Year, Month and Customer and an expression like sum(Sales), you can use sum(total <Customer> Sales) to sum the sales across the whole range of customers.

View solution in original post

3 Replies
Anonymous
Not applicable
Author

If you have a chart with dimensions Year, Month and Customer and an expression like sum(Sales), you can use sum(total <Customer> Sales) to sum the sales across the whole range of customers.

jagan
Luminary Alumni
Luminary Alumni

Hi,

Use TOTAL to ignore the dimensions.

=Sum(TOTAL<Dim1, Dim2, ....> Sales) in this experssion only the Dim1, Dim2... are considered.

=Sum(Sales) / Sum(TOTAL<Dim1, Dim2, ....> Sales)

Regards,

Jagan.

Anonymous
Not applicable
Author

Thanks very much!!