Forum Discussion

dqian's avatar
dqian
Frequent Visitor
8 years ago
Solved

Display data with different time duration together

I have to show weekly data in two years together, in which the data in previous year has 52 weeks, and the data in current year has YTD. I would like to know how to show them together like the picture below (green for prevous year, orange for current year). Thank you.

 

 

  • Hi dqian,

     

    Please mark my response as solution, if it really healped you. :smileyhappy:

     

    Regards,

    Atish

7 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    dqian,

    Could you please share dummy data of your table? For the previous year, do you still want to calculate YTD?


    Regards,
    Lydia

    • dqian's avatar
      dqian
      Frequent Visitor

      Hi Lydia, thank you for your response. Below is my dummy data. I want to show the both 2017 and 2018 year's percentage together.

       

      YEARWEEK%
      2017281%
      2017391%
      2017454%
      2017548%
      2017667%
      2017981%
      20171125%
      20171361%
      20171580%
      20171645%
      20171777%
      20171872%
      20171952%
      201721100%
      20172248%
      20172375%
      20172420%
      20172549%
      20172677%
      20172773%
      20172829%
      20172958%
      20173078%
      20173156%
      20173248%
      20173371%
      20173483%
      20173594%
      20173657%
      20173760%
      20173861%
      20173990%
      20174058%
      20174172%
      20174269%
      20174361%
      20174455%
      20174547%
      20174654%
      20174751%
      20174848%
      20174948%
      20175072%
      20175154%
      20175237%
      2018144%
      2018261%
      2018352%
      2018461%
      2018542%
      2018651%
      2018733%
      2018810%
      20181050%
      20181141%
      20181245%
      20181384%
      • ask4atish's avatar
        ask4atish
        Advocate III

        Hi dqian,

         

        Just tried with your data. I believe this is what you are looking for.