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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
Ibrahim_shaik
Helper V
Helper V

Need help in Creating X-axis in Line Chart.

Hi,

 

Please help.

 

I have a dataset where in i have to work with temperature and time. I have time on x axis and temperature on Y axis, i want to scale the Y axis and represent values in the interval of 5 degree but when i deploy the temperature on line graph it shows 0, 20, 40. please let me know how to fix this.

 

I want the line graph to show the temperature as the time on the x axis changes and i want the line to progressively move connecting each data point according to the time stamp. like how the graph usually moves.

 

Thanks & Regards,

Ibrahim_Shaik

 

2 REPLIES 2
jaweher899
Impactful Individual
Impactful Individual

You can modify the Y-axis scale in the "Format" section of the "Visualizations" pane in Power BI Desktop. To change the axis scale to an interval of 5 degrees, follow these steps:

  1. Right-click the Y-axis in the line graph and select "Format axis".
  2. In the "Format" section, go to the "Values" section.
  3. Set the "Minimum" value to 0 and the "Maximum" value to the highest temperature value rounded up to the nearest multiple of 5.
  4. Set the "Major tick mark unit" to 5.
  5. Apply the changes and see the Y-axis show the temperature in 5-degree intervals.

By doing this, you can have a clear representation of the temperature change over time on the line graph.

Hi Jaweher899,

 

Thank you for the reply.

 

I didn't find any option in the values to scale the Y axis.Power bi snap.png

 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

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.