<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to declare state in multibox in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-declare-state-in-multibox/m-p/47027#M784790</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Following&amp;nbsp; is the expression&amp;nbsp; to calculate growth%&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Num(((sum({&amp;lt;year = {"$(=Max(year-1))"}&amp;gt;} [inv value] / Sales_INR_Unit) -&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;sum({&amp;lt;year = {"$(=Max(year)- 2)"}&amp;gt;} [inv value] / Sales_INR_Unit)) /&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Sum({&amp;lt;year = {"$(=Max(year)- 2)"}&amp;gt;} [inv value] / Sales_INR_Unit) * 100), '#,##0.0')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;but now I want when user selects 1st multibox(sales date for before previuos year as 2017) and when user selects 2nd&amp;nbsp; multibox(sales date for&amp;nbsp; previuos year as 2016) and when user selects&amp;nbsp; 3rd multibox(sales date for before current&amp;nbsp; year as 2017) the growth% should be calculated on basis user selection (i have maintained states for the above situation). I want what changes should i make in my growth% expression so that it can work on users selection ?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Mar 2018 11:18:20 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-03-05T11:18:20Z</dc:date>
    <item>
      <title>How to declare state in multibox</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-declare-state-in-multibox/m-p/47025#M784788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have a straight table with various expressions for current year, previous year and before previous year.(Total days for current year,Total store for current year .....)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="paint2.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/195282_paint2.png" style="height: 479px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;total days expression-&lt;/P&gt;&lt;P&gt;current year expression&amp;nbsp; &lt;/P&gt;&lt;P&gt;=num(count({&amp;lt; year = {"$(=Max(year))"}&amp;gt;}DISTINCT Sold_Date),'#,##0.0')&lt;/P&gt;&lt;P&gt;previous year expression &lt;/P&gt;&lt;P&gt;=num(count({&amp;lt; year = {"$(=Max(year)-1)"}&amp;gt;}DISTINCT Sold_Date),'#,##0.0') as&amp;nbsp; so on....&lt;/P&gt;&lt;P&gt;Now I want to make some changes in the report ie on&amp;nbsp; selection from Ist multi box(i have selected 2017 ) I should get value of 2017 &lt;/P&gt;&lt;P&gt;when I select&amp;nbsp; for 2nd multi box like 2017 , the data should be selected for 2017 (can be seen in mage ).&lt;/P&gt;&lt;P&gt;so what changes should i do in expression and how to maintain alternate state for three different multibox?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="paint1.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/195283_paint1.png" style="height: 113px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-declare-state-in-multibox/m-p/47025#M784788</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to declare state in multibox</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-declare-state-in-multibox/m-p/47026#M784789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saksham,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create a state in the multibox and assign the state to the multibox so the value changes for the respective state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="195296" alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/195296_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks&lt;/P&gt;&lt;P&gt;Karthik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2018 10:28:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-declare-state-in-multibox/m-p/47026#M784789</guid>
      <dc:creator>karthikoffi27se</dc:creator>
      <dc:date>2018-03-05T10:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to declare state in multibox</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-declare-state-in-multibox/m-p/47027#M784790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Following&amp;nbsp; is the expression&amp;nbsp; to calculate growth%&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Num(((sum({&amp;lt;year = {"$(=Max(year-1))"}&amp;gt;} [inv value] / Sales_INR_Unit) -&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;sum({&amp;lt;year = {"$(=Max(year)- 2)"}&amp;gt;} [inv value] / Sales_INR_Unit)) /&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Sum({&amp;lt;year = {"$(=Max(year)- 2)"}&amp;gt;} [inv value] / Sales_INR_Unit) * 100), '#,##0.0')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;but now I want when user selects 1st multibox(sales date for before previuos year as 2017) and when user selects 2nd&amp;nbsp; multibox(sales date for&amp;nbsp; previuos year as 2016) and when user selects&amp;nbsp; 3rd multibox(sales date for before current&amp;nbsp; year as 2017) the growth% should be calculated on basis user selection (i have maintained states for the above situation). I want what changes should i make in my growth% expression so that it can work on users selection ?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2018 11:18:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-declare-state-in-multibox/m-p/47027#M784790</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-05T11:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to declare state in multibox</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-declare-state-in-multibox/m-p/47028#M784791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=Num(sum(if(GetCurrentSelections(&amp;lt;{StateB&amp;lt;Year=$::Year,Month=$::Month&amp;gt;} [inv value] / Sales_INR_Unit) -&lt;/P&gt;&lt;P&gt;sum({StateA&amp;lt;Year=$::Year,Month=$::Month&amp;gt;} [inv value] / Sales_INR_Unit)) /&lt;/P&gt;&lt;P&gt;Sum({StateA&amp;lt;Year=$::Year,Month=$::Month&amp;gt;} [inv value] / Sales_INR_Unit) * 100),'#,##0.0')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following Expression is giving an error&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2018 12:33:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-declare-state-in-multibox/m-p/47028#M784791</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-05T12:33:48Z</dc:date>
    </item>
  </channel>
</rss>

