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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors