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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Line Chart with X axis as Multiple Columns

Hi everyone,

 

I have a dataset as follows. I need to plot line chart with three legends (for Digital, Hybrid, Traditional). X axis should be M1_PAY_CHANNEL, M2_PAY_CHANNEL,.....,M6_PAY_CHANNEL. Y axis should be count of each Digital, Hybrid and Traditional.  

 

For example, first data point is as follows,

X axis point is M1_PAY_CHANNEL, value

     for Digital chart is 7,

     for Hybrid chart is 0,

     for Traditional chart is 1

 

Could you please assist me in this regard? I herewith attach the PBIX File.

 

M1_PAY_CHANNELM2_PAY_CHANNELM3_PAY_CHANNELM4_PAY_CHANNELM5_PAY_CHANNELM6_PAY_CHANNEL
DigitalDigitalDigitalDigitalDigitalDigital
Digital     
Digital     
      
DigitalDigitalDigitalDigitalDigitalDigital
TraditionalDigitalTraditionalTraditionalTraditional
DigitalDigitalDigital DigitalDigital
DigitalDigitalDigitalDigitalDigitalDigital
Digital Hybrid Hybrid 

 

Thanks

1 ACCEPTED SOLUTION
Anonymous
Not applicable

It worked. Thank you very much 🙂

View solution in original post

2 REPLIES 2
v-kkf-msft
Community Support
Community Support

Hi @Anonymous ,

 

Please select all columns and unpivot in Power Query Editor.

 

image.pngimage.png

 


If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.

Best Regards,
Winniz

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

Anonymous
Not applicable

It worked. Thank you very much 🙂

Helpful resources

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

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.

Top Solution Authors