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

How to merge different values in to a single cell of a dimension?

Hi All,

We have a straight table which has around 15 fields out of which 14 dimension and 1 expression.

we are facing an issue in displaying this chart in the way the End user wants.

Problem is, for few records, all 13 dimensions have single value where as one dimension(Called Root Cause) has 4 values because of which the lines get duplicated 4 times.

Data looks something below:

 

IDNameRoot Cause
2SiteLeak
2sitedamage
2SiteDirty
2SiteRejected

But End Users want to see it like below:

  

IDNameRoot Cause
2SiteLeak, Damage,Dirty,Rejected

Could someone please help with the above?

Thanks & Regards

Jyothi

1 Solution

Accepted Solutions
sunny_talwar

PFA a sample application:

Best,

Sunny

View solution in original post

7 Replies
sunny_talwar

Instead of using the Root Cause as a dimension, use it in a expression and use the following expressions:

=Concat([Root Cause],  ',')

HTH

Best,

Sunny

sunny_talwar

PFA a sample application:

Best,

Sunny

Anonymous
Not applicable
Author

use

=concat([Root Cause],',')

See below app

Thanks

BKC

Not applicable
Author

Hi Jyothi,

Concat([Root Cause], ',') as RootCause

Group by ID

Not applicable
Author

Thanks alot for the Quick response. It worked

Not applicable
Author

Hi Avinash,

I tried your suggestion too. but it does not let me do this in the script. I get an error saying Invalid Expression.

sunny_talwar

Not a problem! Glad to help.

Best,

Sunny