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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

How do I plot a line chart without X-axis values?

I have the following dataset:

 

datasetdataset

 

I would like to plot the following line chart, where the Y-axis is the sum of all values for USE_Percentile10, 20, 30, etc.

 

Q2.gif

 

I am having trouble because values for X-Axis don't exist. I thought that maybe PowerBI could improvise like Excel by creating an X-Axis but it doesn't seem to have this capability.

Can I do it with the available dataset or do I have to create a new table (like below) with values for the X-Axis?

 

New TableNew Table

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

As you can see, it was a matter of unpivoting the data:

 

A1.gif

 

Cheers

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Can you hide the X-axis on the Format category of the visual ?

James_C_0-1651737825022.png

 

amitchandak
Super User
Super User

@Anonymous , Add an index column in the power query and use that on the axis

 

https://stackoverflow.com/questions/45715963/creating-an-index-column-for-power-bi

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
Anonymous
Not applicable

Hello, amitchandak.

Thanks for the reply.

Your advice doesn't work because I think my diagnostic of the issue is wrong. I think I might have to unpivot the USE_Percentile# columns.

I'll let you know if it works.

Cheers

Anonymous
Not applicable

As you can see, it was a matter of unpivoting the data:

 

A1.gif

 

Cheers

Helpful resources

Announcements
Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.