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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Chalklands
Helper I
Helper I

Importing an excel table into Power BI - Convert to List?

Hi,

I have data in an excel file that I want to import into a Power BI report, unfortunately the data is in a table not a list. 

 

For example:

 

Product    Jan 2020   Feb 2020    Mar 2020

20404        £13.42       £12.00         £12.50

20200        £6.77         £7.00           £7.25

 

How do I import this data as a list so:

 

Product      Month         Price

20404          Jan 2020      £13.42

20404          Feb 2020      £12.00

20404          Mar 2020      £12.50

20200          Jan 2020       £6.77

20200          Feb 2020       £7.00

20200          Mar 2020      £7.25

 

Is there a DAX function that I can use when importing the data that will do the conversion? Or would it be better to import each month individually and combine the data in Power BI using an append query? (Seems a long winded solution to me)

 

Thanks

1 ACCEPTED SOLUTION
Chalklands
Helper I
Helper I

Don't worry, found the solution. 

 

In edit query, select product column, right click, "unpivot other columns".

View solution in original post

1 REPLY 1
Chalklands
Helper I
Helper I

Don't worry, found the solution. 

 

In edit query, select product column, right click, "unpivot other columns".

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.