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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Line Chart Sales Report / Axis Issue

Hi everyone,

 

I have an excel line chart that I am trying to replicate in Power BI, but I cannot seem to do so. 

NewPlsHelp_0-1625754159365.png

This is what the excel line graph looks like and is what I would like it to do in Power BI. 

 

Where the legend is the vehicle type and FYXX is the Axis. The issue I am having is the FYXX are all different columns in the sheet and of course I cannot have multiple X-Axis. 

 

My table looks something like this:

NewPlsHelp_1-1625754773886.png

What would be the easiest way to go about fixing this?

 

Thank you for any and all suggestions!

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@Anonymous , For power bi, you have either transpose this table or unpivot it

 

https://radacad.com/pivot-and-unpivot-with-power-bi
Transpose : https://yodalearning.com/tutorials/power-query-helps-transposing-data/

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

View solution in original post

Fowmy
Super User
Super User

@Anonymous 

You first need to organize your data in Power Query. to have three columns MARKET TYPE, PERIOD and AMOUNT. You can do it using the Unpivot function refer to this videos: https://www.youtube.com/watch?v=Vff2kRBM95o&t=0s


Then it is better to create a calendar table and link: https://www.youtube.com/watch?v=BfFvNFTacNY


Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

View solution in original post

2 REPLIES 2
Fowmy
Super User
Super User

@Anonymous 

You first need to organize your data in Power Query. to have three columns MARKET TYPE, PERIOD and AMOUNT. You can do it using the Unpivot function refer to this videos: https://www.youtube.com/watch?v=Vff2kRBM95o&t=0s


Then it is better to create a calendar table and link: https://www.youtube.com/watch?v=BfFvNFTacNY


Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

amitchandak
Super User
Super User

@Anonymous , For power bi, you have either transpose this table or unpivot it

 

https://radacad.com/pivot-and-unpivot-with-power-bi
Transpose : https://yodalearning.com/tutorials/power-query-helps-transposing-data/

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

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.