1 Reply Latest reply: Feb 5, 2015 3:59 PM by Michael Tarallo Branched from an earlier discussion. RSS

    QLIK SENSE: Get Current Selected Field

    wrvs fsbv

      Hi Michael,

      Any update on this? Is there a way to get the current selected field in qlik sense?



        • Re: QLIK SENSE: Get Current Selected Field
          Michael Tarallo

          Hello UG -


          See this example - attached.


          If(getselectedcount(Year)<>1, Sum({<Year={"$(=max( Year ))"}>} Sales ),
          Sum({<Year={"$(=getfieldselections( Year ))"}>} Sales ))


          In this example - I was just trying to simulated the selection for This Year for Last


          However - there may be a better way to achieve this, what is your use case?


          Please mark the appropriate replies as helpful / correct so our team and other members know that your question(s) has been answered to your satisfaction.



          Mike Tarallo