Forum Discussion

Everton's avatar
Everton
Helper I
7 years ago
Solved

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:

 

 

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:

 

 

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

 

 

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. 

  • 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"

3 Replies

  • 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"

    • Everton's avatar
      Everton
      Helper I

      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:

       

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

      • parry2k's avatar
        parry2k
        Super User

        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