Forum Discussion

Willo's avatar
Willo
New Member
6 years ago
Solved

Datatable - incorrect dates on columns

Hello. I have created a datetable and built a stacked column visulisation. The values in the columns are correct but the dates, labelled on the axis are wrong. The dates in the tool tips are also correct. How can I resolve this please?

  • Hi, I think I see now. You have to change under formatting options the X-Axis from Continious to Categorial in order to see for each bar the exact thing you want. Otherwise it tries to draw an estimation of the places of the dates.

    Like this:

    xaxiscategorical

     

    Regards,

5 Replies

  • Hi. Can you explain a bit more about the problem? what is wrong with the axis? (please add a picture or describe de issue). Also it would help a lot if you explain your dataset, how is the date table built? is it related with the values in column chart?

    Right now is difficult to understand the problem, the only thing I can think is that your months are not in order.

     

    Regards,

    • Willo's avatar
      Willo
      New Member

      Hiya, I've now added a screenshot of the problem. This is a simple data set with data for 54 schools with values across a 3  month period from March to May. I am seeking to show the values, first by date, then by week. To do this I have created a dates table, based on advice from this forum. As I say, the data is correct, but table 1 has incorrect dates on the legend, althought the tooltips are correct. Table 2 shows dates as numbered days rather

      than calendar dates

       

       

      Hope that makes sense and looking forward to hearing from you.

       

      Thanks for helping me

      • ibarrau's avatar
        ibarrau
        Super User

        Hi, I think I see now. You have to change under formatting options the X-Axis from Continious to Categorial in order to see for each bar the exact thing you want. Otherwise it tries to draw an estimation of the places of the dates.

        Like this:

        xaxiscategorical

         

        Regards,

  • Calendar Issue in PBi

     

     

    amitchandak

     

    please see screen shot with images of the 2 charts affected

     

    Chart 1, showing tool tip with correct date and column on legend with incorrect date

    Chart 2, showing days in number not dates

     

    Thanking you in anticipation