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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

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
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.