Forum Discussion
Anonymous
6 years agoNot applicable
Give Columns Shared Header
Hey Guys, I am trying to visualize Data (mainly text) in a big table, and give certain variables (columns) a shared header. So for example if I have colums 1-7 in a table, I want to have 1,2 a...
- 6 years ago
Hi Anonymous ,
First go to query editor>select all columns >unpivot columns:
Then create a calcuated column:
Column = IF('Table'[Attribute] in {"column 1","column 2","column 3"},"financials",IF('Table'[Attribute] in {"column 4","column 5"},"Project Details","status"))Finally, create a matrix and you will see:
For the related .pbix file,pls click here.
Best Regards,
KellyDid I answer your question? Mark my post as a solution!
amitchandak
Super User
6 years agoYou have created a new table where you to unpivot your columns /measures to rows and then add a calculated column to put them into group.
For columns you can refer :https://radacad.com/pivot-and-unpivot-with-power-bi
Anonymous
6 years agoNot applicable
Not sure if you understood my question correctly:
My data already is in colums, I just want to visualize the colums better by having a shared column header.
Hope I did not understand your answer incorrectly.
- amitchandak6 years ago
Super User
refer if this can help