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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Fragan
Helper III
Helper III

Two columns out of a column

Hey,

 

I have a table with several column named like this "COLUMN_NAME YEAR-MONTH", i want to create two separate columns, "COLUMN_NAME" and "YEAR-MONTH" here's an example :

CM 2019-01CM 2019-02
232.2329123.222

 

I want to make it like this :

Column_namedatevalue
CM2019-01232.232
CM2019-02 9123.222

 

Is there anyway i can achieve that with power query?

 

Regards

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Try Transpose first, then you can split your columns using the built in features of powerquery, perhaps use add column from examples to make the process even easier

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

You need to transpose first. Refer :https://radacad.com/pivot-and-unpivot-with-power-bi

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Try Transpose first, then you can split your columns using the built in features of powerquery, perhaps use add column from examples to make the process even easier

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.