Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How show in Dimension, ONLY CLIENTS for which exist revenues

I have a straight table with:

Dimension:          Expression              Expression

CLIENTS             Total Revenues        Revenues only with Salesgroup A

Currently because I have an expression for Total Revenues, I'm getting the full list of clients in the dimension.

I'd like to list only CLIENTS which have revenues with Salesgroup A.

Is there a way to do this with set analysis in the Dimension?

Thanks in advance!

H

1 Solution

Accepted Solutions
Gysbert_Wassenaar

You can use a calculated dimension. Something like:

if(aggr(sum({<Salesgroup={'A'}>} Revenue),CLIENTS)>0,CLIENTS)

Change Salesgroup, Revenue and CLIENTS to the names of your fields.

Enable the option Suppress When Value Is Null for the calculated dimension.


talk is cheap, supply exceeds demand

View solution in original post

3 Replies
Gysbert_Wassenaar

You can use a calculated dimension. Something like:

if(aggr(sum({<Salesgroup={'A'}>} Revenue),CLIENTS)>0,CLIENTS)

Change Salesgroup, Revenue and CLIENTS to the names of your fields.

Enable the option Suppress When Value Is Null for the calculated dimension.


talk is cheap, supply exceeds demand
Anonymous
Not applicable
Author

Hi,

   Can You please provide Sample Data.

Regards

Not applicable
Author

Thank you!