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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
wooand
Helper II
Helper II

Different columns in a line chart

I have several columns of data that I would like to show in a line chart with each of T-3, T-2, etc along the X, and BP cost up the Y axis.

 

Capture1.PNG

 

Whilst I can create a clustered column visual, I can't produce a line chart that orders the data from each column so that the line produced would reflect the BP costs at each value of 'T' along the X axis.

 

Any help most gratefully received.

 

 

2 REPLIES 2
v-chuncz-msft
Community Support
Community Support

@wooand,

 

You may try to select Unpivot Columns in Query Editor first.

https://community.powerbi.com/t5/Desktop/matrix-to-table-help/td-p/329415

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks, that's a great help, but now I am getting this:

 

Capture1.PNG

 

Aside from being in the wrong order, the X axis is now correct, but the values, which should be a number for each point will only allow 'count of'.  What am I doing wrong now pls?

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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