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
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
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!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.