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
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
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.

Top Solution Authors