Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
nsuvorov
New Member

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
Greg_Deckler
Super User
Super User

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.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

3 REPLIES 3
Greg_Deckler
Super User
Super User

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.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

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!

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.