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

Each month in a single column. How to group?

Hi all,

 

Table is presented by a column with employees and 12 columns for months. Data in months cells. So view is:

Row1: Employee|Jan|Feb...

Row2: Nikolay|123|32...

RowN...

 

A question is how to group data by months if I wanna get a chart for ex where each line will be an employee, X - month, Y - value?

 

Thanks a lot! Cheers!

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Each month in a single column. How to group?

I would recommend taking your query, selecting your month columns and choosing to "Unpivot Columns". Then, you can use a table visualization to get what you want. Unpivot columns is found on the transform tab.


I have book! Learn Power BI from Packt


Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!

View solution in original post

3 REPLIES 3
Super User
Super User

Re: Each month in a single column. How to group?

I would recommend taking your query, selecting your month columns and choosing to "Unpivot Columns". Then, you can use a table visualization to get what you want. Unpivot columns is found on the transform tab.


I have book! Learn Power BI from Packt


Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!

View solution in original post

Highlighted
nsuvorov Frequent Visitor
Frequent Visitor

Re: Each month in a single column. How to group?

Great! Exactly what was needed. Only thing it was nessesary to delete a folder "C:\Program Files\Microsoft Power BI Desktop\bin\ru" -- it let me see the button you pointed. Many thanks!

Re: Each month in a single column. How to group?

In russian version of PowerBI Desktop this option has name "Отменить свертывание столбцов".

You also can use select first column and apply "Unpivot Other Columns" ("Отменить свертывание других столбцов")

Maxim Zelensky
excel-inside.pro

Helpful resources

Announcements
New Kudos Received Badges Coming

New Kudos Received Badges Coming

Kudos to you if you earned one of these! Check your inbox for a notification.

Microsoft Implementation for Communities Wins Award

Microsoft Implementation for Communities Wins Award

Learn about the award-winning innovation that was implemented across Microsoft’s Business Applications Communities.

Power Platform World Tour

Power Platform World Tour

Find out where you can attend!

Top Kudoed Authors (Last 30 Days)
Users online (1,216)