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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Honne2021
Helper II
Helper II

Transforming data

I have a data set that looks like this:
With 50 Teams and dates spanning from Jan 2019 up to March 2022. How do I include all the month and year in each column such as the number of hires, voluntary terminations, total terminations, headcount and percentage will have the month and year as header? so that I can just unpivot it later. Can I do it in powerquery or powerbi?

qs.png

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Honne2021 , Not a good way to have raw data. You have unpivot the data to bring month on row and pivot again to get column

View solution in original post

2 REPLIES 2
Honne2021
Helper II
Helper II

Thanks! Thats exactly what I did. I was hoping there was a better way of doing it. Thanks again. 

amitchandak
Super User
Super User

@Honne2021 , Not a good way to have raw data. You have unpivot the data to bring month on row and pivot again to get column

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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