cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
AClerk New Contributor
New Contributor

Table transpose

Hey All,

Struggeling to transpose a table.

The original table looks like below.

Employee NameDepartmentCourseDate
AD111/01/2018
AD125/04/2017
CD132/06/2019
DD211/01/2018
DD225/04/2017
DD2315/11/2016
DD242/06/2019

There are more columns, which I want to hide. Also, there are more than 4 courses, which I want to filter the redundant ones.

I want to achieve this view

Employee NameDepartmentCourse 1Course 2Course 3Course 4
AD11/01/20185/04/2017  
BD3    
CD1  2/06/2019 
DD21/01/20185/04/201715/11/20162/06/2019

 

Showing Department, and maybe other columns. Also, Showing Employees without data (empty values), like employee B above.

 

Any hint would be much appreciated.

 

Thanks!
A

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Table transpose

This looks like pivoting text data to me. Read my article here. 

https://exceleratorbi.com.au/pivoting-text-data-using-power-query/



* Matt is a Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.

View solution in original post

3 REPLIES 3

Re: Table transpose

This looks like pivoting text data to me. Read my article here. 

https://exceleratorbi.com.au/pivoting-text-data-using-power-query/



* Matt is a Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.

View solution in original post

Anonymous
Not applicable

Re: Table transpose

HI @AClerk 

Capture2.GIF

Use pivot column -->Course in power query 

In the  options select date

advance options  --> do not aggregate.

 

AClerk New Contributor
New Contributor

Re: Table transpose

@MattAllington 

Thanks Mate.

Apparently, I was missing the do not aggregate thingi which messed up my visual.

 

Cheers!
A

 

Helpful resources

Announcements
Exclusive LIVE Community Event #3 – Ask Arun Anything

Exclusive LIVE Community Event #3 – Ask Arun Anything

Join us in the third Triple A event!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

Super User Challenge: Can You Solve These?

Super User Challenge: Can You Solve These?

We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.

Power BI Desktop Update - February 2020

Power BI Desktop Update - February 2020

We are super excited for our update this month, as we are releasing two of our top community requests!

Power Platform Online Conference

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

Top Solution Authors