cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
kochsalz23
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
v-shex-msft
Community Support
Community Support

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
v-shex-msft
Community Support
Community Support

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

amitchandak
Super User
Super User

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 !! Connect on Linkedin

Learn Power BI Beginners !! Advance Power BI Concepts !! Power BI For Tableau User !! Learn Power BI in Hindi !!
Proud to be a Super User!

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?

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

November Power BI Update 768x460.png

Check it Out!

Click here to read more about the November 2021 Updates!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.