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

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!

Highlighted

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 Ranks and Rank Icons in 2020

New Ranks and Rank Icons in 2020

Read the announcement for more information!

New Kudos Given Badges Coming

New Kudos Given Badges Coming

We're rolling out new Kudos Given badges. Find out how many Kudos you've given.

November 2019 Community Highlights

November 2019 Community Highlights

Get an overview of the events and great community content from November.

Power Platform World Tour

Power Platform World Tour

Find out where you can attend!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)