Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
jpapador
Partner - Specialist
Partner - Specialist

Column in straight table list all values

I have a table with multiple dimensios but one is date.  Is it possible to have a column list it's values even if it is not specific to that date.  For example:

CURRENT

Date                Car               CarId            Serivce

1/23/2013         Ford                12            Oil Change

1/23/2013         Toyota             55            Brakes

1/31/2013         Ford                12              -

2/2/2013           Ford                12            Tire Rotation

2/4/2013           Toyota             55            -

2/6/2013           Toyota             55            Power Steering

What I would Like:

Date                Car               CarId            Serivce

1/23/2013         Ford                12            Oil Change, Tire Rotation

1/23/2013         Toyota             55            Power Steering, Brakes

1/31/2013         Ford                12            Oil Change, Tire Rotation

2/2/2013           Ford                12            Oil Change, Tire Rotation

2/4/2013           Toyota             55            Power Steering, Brakes

2/6/2013           Toyota             55            Power Steering, Brakes

Is this possible?

1 Solution

Accepted Solutions
Not applicable

Assuming CURRENT is your data model, you can use the total key word with the concat function. Create a straight table with Date, Car, and CarId as the dimensions and use Concat(Total <Car, CarId> Service, ', ') as the expression.

View solution in original post

3 Replies
alexandros17
Partner - Champion III
Partner - Champion III

Yes, try with If in the dimension field and set your condition

jeffmartins
Partner - Creator II
Partner - Creator II

Hi jpapador,

You need to adjust your data model to get the services and dates related.

After relating the services and dates you can use the concat function to get the services separeted by comma at the same line.

Regards

Not applicable

Assuming CURRENT is your data model, you can use the total key word with the concat function. Create a straight table with Date, Car, and CarId as the dimensions and use Concat(Total <Car, CarId> Service, ', ') as the expression.