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

Group like Expression Results

Hi,

I have an expression which returns the project size based upon the total net sales of another dimension:

=If([Current Net Sales]>=3,'Large Project',if([Current Net Sales]>=1,'Medium Project',if([Current Net Sales]>=.3,'Small Project','Std Dealer Pricing')))

The chart then applies this to each line:

Capture1.PNG

How can I have the chart group all like results together? In the above example there would then only be 3 lines (large project, medium project, small project). When I any of the dimensions, all I get is a grand total.

Thanks!

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Try as calculated dimension:

=Aggr(

If([Current Net Sales]>=3,'Large Project',if([Current Net Sales]>=1,'Medium Project',if([Current Net Sales]>=.3,'Small Project','Std Dealer Pricing'))),

[PA Number])


and as expression something like

=Count(DISTINCT [PA Number])

View solution in original post

2 Replies
swuehl
MVP
MVP

Try as calculated dimension:

=Aggr(

If([Current Net Sales]>=3,'Large Project',if([Current Net Sales]>=1,'Medium Project',if([Current Net Sales]>=.3,'Small Project','Std Dealer Pricing'))),

[PA Number])


and as expression something like

=Count(DISTINCT [PA Number])

Not applicable
Author

You sir, just made my day. Thanks a bunch!