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 Topics Started Badges Coming

New Topics Started Badges Coming

We're releasing new versions of the badge that everyone's talking about. ;) Check your inbox for notifications.

MBAS 2020

Save the new date (and location)!

Our business applications community is growing—so we needed a different venue, resulting in a new date and location. See you there!

Difinity Conference

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

Top Solution Authors
Top Kudoed Authors (Last 30 Days)