Forum Discussion

BrandonP2121's avatar
BrandonP2121
Helper II
6 years ago

Date Table Problem

Hello,

 

I have some data regarding turnover that I am trying to organize by month and quarter. I made a date table that I want to use and put in some random numbers to give me data to populate my graph. However, when I add my date table to the axis it doesn't sort the months in order, and it applies the numbers for all months when I only put data in for Janaury. I have attached the picture below so everyone can see what I mean. Thank you!

10 Replies

  • BrandonP2121 You need to sort months by month number.

     

    To do this create a new column Month Number = Month(Date)

     

    Click on the month and then sort by Month Number

  • iamprajot's avatar
    iamprajot
    Responsive Resident
    Select the visual and go to Sort in too ribbon and you should sort the visual by another column that is a sorted column for e.g. dates.
  • iamprajot's avatar
    iamprajot
    Responsive Resident
    For that you need to create a relationship between Datekey[Date] and Vol[Month] otherwise the total of each category will be displayed.
    • BrandonP2121's avatar
      BrandonP2121
      Helper II

      Okay, I did that and now it took my numbers out of the month and put them into a "Blank" category. Did I mess up my date table?

      • dax's avatar
        dax
        Community Support

        Hi BrandonP2121 , 

        If possible could you please inform me more detailed information(such as your expected output and your sample data )? Then I will help you more correctly.

        Please do mask sensitive data before uploading.

        Thanks for your understanding and support.
        Best Regards,
        Zoe Zhi

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