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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
rchristie
Frequent Visitor

Day Time Axis

Hi, I'm trying to do week on week comparison using line chart visual of datetime data.

 

So my x-axis should be day-time (e.g. Mon 09:00) going from Monday 00:00 to Sunday 23:45 in 15 min increments and y-axis is value. My dataset is quarter hourly.

 

I've managed to graph it but the graph ends up being very wide as it displays every x-axis value and requires a slider, see below.

 

Is there a way to configure my day-time field or the x-axis parameters so it compresses the graph to the space allowed and drops x-axis value labels as necessary?

 

Power Bi Day Time Image.png

 
1 REPLY 1
v-lionel-msft
Community Support
Community Support

Hi @rchristie ,


First of all, because your X-axis values are text, you can't change the visual effects of the X-axis without changing the values. In other words, the X axis must be displayed as an categorical value.

aaa3.PNG

 

Maybe you can split the day-time field into day and time columns (You can do it in Edit Queries) and use the "Drill up / down" feature to achieve the visual effect.

aaa4.PNG

 

Best regards,
Lionel Chen

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

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.