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

View all the Fabric Data Days sessions on demand. View schedule

Reply
souchock
Regular Visitor

Line Chart X-axis categories

Hello. Fairly new to PowerBI.

I have survey data that we usually analyze in Excel.

Example of data is attached. Along with 2 charts we usually use to show the data.

I am trying to replicate these charts in PowerBI, but am having trouble figuring out how to input the data fields to achieve the right X- and Y-axis results.

 

PowerBI dataset basically matches the example, with no other connected data currently.


Do I need to make a connected dataset that just lists the Survey Questions in a single column? If so, how do I connect the data sets?

 
ModelQuestion 1Question 2Question 3Question 4Question 5Question 6
Vehicle A8.2977538.3743028.5168548.4804478.4636877.986755
Vehicle B8.5428578.5858828.5966988.6894128.6894128.307494
Vehicle C6.566.566.53.5
 
 
 

Ex.pngEx2.png

1 ACCEPTED SOLUTION
v-deddai1-msft
Community Support
Community Support

Hi @souchock ,

 

Just use unpivot other colums in your table:

 

Capture1.PNGCapture2.PNGCapture3.PNG

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,

Dedmon Dai

 

View solution in original post

3 REPLIES 3
souchock
Regular Visitor

Thank you. I understand and this generally solves the problem.

 

is there any tip/trick to shape the data where we have more like 100 survey questions to sort through?

It is annoying to set the filters to only show the particular 10 questions I want at any time in the chart.

 

Thanks 

v-deddai1-msft
Community Support
Community Support

Hi @souchock ,

 

Just use unpivot other colums in your table:

 

Capture1.PNGCapture2.PNGCapture3.PNG

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,

Dedmon Dai

 

amitchandak
Super User
Super User

@souchock , I think you unpivot to question in rows. Suggesting Based on the Table you shared.

 

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

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors