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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Lexola
Regular Visitor

Unable to create an X-Axis Constant Line for a Time x-axis

I have a timeseries line chart (see below), where the x-axis is Time datatype. 

Lexola_0-1673294273043.png

The constant line feature does not allow for a time to be selected. When I try to add a conditional entry for the opening hour (08:00) the graph does not respond as expected (see below) and introduces dates onto the x-axis.

Lexola_1-1673294476225.png

Thanks,

Lex

4 REPLIES 4
GilbertQ
Super User
Super User

Hi @Lexola 

 

Yes this should work as long as you have data for the time.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Unfortunately, this doesn't work. I am also not able to set x-axis limits to show midnight to midnight for a day ( to keep the visual's x-axis the same when you change date filter.

 

Regards,

Lex

Lexola
Regular Visitor

Hi @GilbertQ,

 

Time is on the x-axis in my example (not a datetime). I do have data for many days though. So this should work whether I filter on just 1 day or on all days (and average across them).

GilbertQ
Super User
Super User

Hi @Lexola 

 

It could be because you have got the date/time and you only have data from a specific point in time?

 

What happens if you just put in the time on the X-axis and then filter it to be greater than 8AM does it then work?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors