cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors