Forum Discussion
Pivoted columns in table visual
Hello,
In my ticket data, I have unpivoted seperate "creation time" and "last change time" columns to combine those facts to a single timeline, and it has served me perfectly in the rest of my report.
However, in a table visual I would like to have these back as individual columns and I don't see a way of doing it that does not involve creating a copy of my table.
What would be the most efficient way of doing this?
- Anonymous6 years ago
Hi kochsalz23 ,
In fact, you can also achieve pivot table view on matrix without 'unpivot' your original table fields.
You can consider to extract your attribute(your date category) to a new table and use it on matrix column field, then you can add measures to use the current row label and correspond column category value to lookup original table records and return the corresponding value. (matrix design: original table fields to row, new table attribute to column, measure to value)
In addition, you can also consider to backup the original table to keep two data structure for correspondence analysis.Regards,
Xiaoxin Sheng
3 Replies
- amitchandakSuper User
In Matrix visual, toy can have dateType in column and get them as pivoted
- kochsalz23Frequent Visitor
Thank you for the response! This would work if I only wanted to display both dates, but things get messy when trying to add the rest of the information. Additonally, I lose the ability to sort by descending/ascending dates the way I can freely do it in a regular table. Is there no way to do it without having to resort to the matrix table?
- AnonymousNot applicable
Hi kochsalz23 ,
In fact, you can also achieve pivot table view on matrix without 'unpivot' your original table fields.
You can consider to extract your attribute(your date category) to a new table and use it on matrix column field, then you can add measures to use the current row label and correspond column category value to lookup original table records and return the corresponding value. (matrix design: original table fields to row, new table attribute to column, measure to value)
In addition, you can also consider to backup the original table to keep two data structure for correspondence analysis.Regards,
Xiaoxin Sheng