cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

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.

 

pivotting.png

 

What would be the most efficient way of doing this?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Pivoted columns in table visual

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

3 REPLIES 3
Highlighted
Super User IX
Super User IX

Re: Pivoted columns in table visual

In Matrix visual, toy can have dateType in column and get them as pivoted



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

Highlighted
Frequent Visitor

Re: Pivoted columns in table visual

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?

Highlighted
Community Support
Community Support

Re: Pivoted columns in table visual

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

Helpful resources

Announcements

August Community Highlights

Check out a full recap of the month!

Experience what’s next for Power BI

Join us for an in-depth look at the new Power BI features and capabilities at the free Microsoft Business Applications Launch Event.

Top Solution Authors