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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
samsonobolade
Frequent Visitor

How to join column when dates are spread out in columns

Hi there,
I have a piece of project I’m currently doing. Unfortunately the date on the table is as follows:
Company name|Jan2018| Feb2018 |etc
ABC. |357 |467 |
XYZ |456 |684 |

How can I change this table to look more like :
Company name|Months |Amount
ABC. |Jan2018|357
XYZ |Jan2018|456
ABC. |Feb2018|467
XYZ |Feb2018|684

Although the source is Excel but the list of companies is too long to change around manually. Is there anyway I can do this within Power bi or even excel or perhaps M ?
Please help
1 ACCEPTED SOLUTION
Ashish_Mathur
Super User
Super User

Hi,

In the Query Editor, right click on the first column's heading and select "Unpivot Other columns".

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

1 REPLY 1
Ashish_Mathur
Super User
Super User

Hi,

In the Query Editor, right click on the first column's heading and select "Unpivot Other columns".

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

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

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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