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
Everton
Helper I
Helper I

Change Y axis interval

Hi,

 

I have a chart that shows appointments booked by time. I want to have the Axis show 15 minute intervals:

 

2

 

At 8:00 AM there is one appointment. The next appointment is at 9:00 AM. At the times 8:15, 8:30 and 8:45 I want the graph to dip down to 0. I thought I may be able to achieve this by using a time dimension table with 15 minute intervals:

 

Capture

 

This does not work, I believe because of the relationship. This is how I have set up the graph:

 

3

 

Is there anyway I can have 15 minute intervals on the Axis, even if there is no appointments at that time?

 

Thank you for your help. 

1 ACCEPTED SOLUTION
parry2k
Super User
Super User

@Everton I think you mean y X-AXIS, change X-Axis type on format pane to Continuous and also click arrow button next 15min internval on Axis and select "Show items with no data"



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

View solution in original post

3 REPLIES 3
parry2k
Super User
Super User

@Everton I think you mean y X-AXIS, change X-Axis type on format pane to Continuous and also click arrow button next 15min internval on Axis and select "Show items with no data"



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Thanks mate, Yes I did mean X Axis, sorry!

 

I tried what you said and it didn't change the graph. But when I change Type to "Categorical", it kind of gives the visual I need:

 

ContinuousContinuousCategoricalCategoricalIt is close, I just need the line to continue, but dip down to zero rather than stop when there is no appointments. 

@Everton create a following measure and use that for value, change table and column name as per your model.

 

Appointment Count = COUNT( Table[Appointment] ) + 0

 

 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

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.