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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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