8 Replies Latest reply: Jul 20, 2016 3:58 AM by Ankur Akash RSS

    Dynamic chart comparing previous year month with current year month

    Ankur Akash

      Dear Community Members,

       

      I am trying to figure out solution for a dynamic chart that compare previous year month with current year month and as the counting of current year month grows it automatically showcase the compariosn with respective month of last year. Otherwise it should only show the compariosn.

       

      For example:

      Current Year = 2016;   Current available Month data = Jan to July

      previous Year = 2015;  Previous available Month data = Jan to Dec

       

      The chart (could be bar chart) should display month compariosn between two years for available Months (Jan to July). It should not display previous year months (Aug to Dec) which don't have compariosn months in the current year.

       

      Dynamic behavior required:

      If the counting of current year month grows(i.e. Aug and Sep 2016) the chart should include them dynamically and compare it with the respective month of previous year.

       

      A solution or a guiding approach is much appreciated.

       

      Regards,

      Ankur