Separately calculating data by seasons

DataGraph Forums Technical Support Support Desk Separately calculating data by seasons

  • This topic has 13 replies, 3 voices, and was last updated 3 months ago by Jean-Yves Le Stang.
Viewing 4 posts - 11 through 14 (of 14 total)
  • Author
    Posts
  • #14365
    petercreate
    Participant

      @Jean-Yves, both are good fitting what I need. I used the second, for it sorts seasons in order of spring, summer, autumn, and winter. The first is also good but it sorts them in alphabet order. Thanks.

      #14366
      Jean-Yves Le Stang
      Participant

        OK

        May be DG team has some recommendation on how to sort X axis labels in the first configuration ?

        #14367
        dgteam
        Moderator

          First, Thanks, Jean-Yves, for the great suggestion on mapping the dates to the astronomical seasons!

          FYI:  Here is an explanation of the meteorological seasons. We took the easy way out since these are mapped to month number. 😀
          https://www.noaa.gov/education/resource-collections/climate/changing-seasons

          Regarding sorting, you can may want to map to a Season Number in the order that you want them shown, instead of the text.

          Then, you can combine those two numbers into one column using a Text expression column.

          For example, here is what this would look like in the data table, for the data that will be pivoted.

          season1

          Then when you Pivot the data, use this combined Year-Season column to group the data.

          season2

          Through a series of separate pivots and mapping, we created this look-up table.  You could also manually create this by having a table with a list of every Year-Season in your data along with a corresponding label.  Note the “\n” is added in the label so the season will be on a separate line.

          season3

          Then this mapping withing the Pivot command is used to update the labels on the y-axis.

          seasons4

          In any case, an interesting problem and we will think about adding this grouping to the Pivot!

           

          #14368
          Jean-Yves Le Stang
          Participant

            Many thanks, dgteam, for this explanation which provides further possibilities to present informations with DG and the Pivot Command.

            I was aware about astronomical/meteorological seasons but as a former seaman, I am used to fix my position from sun, stars and planets… Not a principle but a natural trend…

          Viewing 4 posts - 11 through 14 (of 14 total)
          • You must be logged in to reply to this topic.

          DataGraph Forums Technical Support Support Desk Separately calculating data by seasons