13 Replies Latest reply: Aug 16, 2017 2:26 AM by Adam Ginza RSS

    [ASK] - Top 5 YTD Value including Total value for Top 5 and Overall Total

    Adam Ginza

      Hi Qlik Masters,


      I'm back with another question. It seems that each day there are more and more interesting cases during my Qlikview Development.

      Without further ado, I present you the case.



      The users expect to see a report that looks like this one.

      Top 5 CAPEX Sample.PNG

      The rules for this report is that every CAPEX Type must have:

           1. Top 5 Value - (Top 5 value and sort is based on the YTD value of selected Month, in this case is YTD May 2017)

           2. Top 5 Total - (Total of presented Top 5 Value)

           3. CAPEX Type Total - (Total YTD May 2017 for every CAPEX Type)


      I don't know if this can be done in Qlikview or not. For now the only way that I can think of is to create each object for each CAPEXType, but it contains hard coding and won't be flexible if there are additional CAPEX Type in the future.


      Attached with this discussion is the qvw and source file with dummy data.

      Kindly take a look and please help me to solve this.

      Your ideas are very much appreciated.



      Adam Ginza