<?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: Multiple selection variable in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Multiple-selection-variable/m-p/2479616#M100615</link>
    <description>&lt;P&gt;Since you have the buttons all on the same variable, it will always toggle the value of it, but you need it to append values. I think in this case you would need a variable for every month, and calculate based on that.&lt;/P&gt;
&lt;P&gt;Something like:&lt;BR /&gt;Rangesum( if( $(vJanuary)=1, sum(Liter1),0), if( $(vFebruary)=1, sum(Liter2),0), ... )&lt;/P&gt;</description>
    <pubDate>Wed, 04 Sep 2024 13:09:28 GMT</pubDate>
    <dc:creator>madelonjansen</dc:creator>
    <dc:date>2024-09-04T13:09:28Z</dc:date>
    <item>
      <title>Multiple selection variable</title>
      <link>https://community.qlik.com/t5/App-Development/Multiple-selection-variable/m-p/2479455#M100598</link>
      <description>&lt;P&gt;My goal:be able to select multiple months for my calculations.&lt;/P&gt;
&lt;P&gt;I have a variable, and according to the choosen variable I have a calculation. For example I have a variable that can take values: 'January', 'February', 'March'.&lt;/P&gt;
&lt;P&gt;And in my calculation I write:&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;If($(Var_Month) = 'January', SUM(liter1),&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;If($(Var_Month) = 'February', SUM(liter2),&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;If($(Var_Month) = 'March', SUM(liter3), &lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;0)))&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="beyzabetulcelik_0-1725389041489.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171239iB17F57A0BF07BB7A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="beyzabetulcelik_0-1725389041489.png" alt="beyzabetulcelik_0-1725389041489.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; I would like to be able to choose multiple as variable so I can calculate January and February at the same time when choosen. I looked for a multiple selection variable extension but I could not find. Can someone help about it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NOTE: I don't have data that shows month or I date. I have&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt; liter1, liter2, liter3...&lt;/STRONG&gt;&lt;/FONT&gt; as a column in the same row.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2024 18:54:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Multiple-selection-variable/m-p/2479455#M100598</guid>
      <dc:creator>beyzabetulcelik</dc:creator>
      <dc:date>2024-09-03T18:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple selection variable</title>
      <link>https://community.qlik.com/t5/App-Development/Multiple-selection-variable/m-p/2479616#M100615</link>
      <description>&lt;P&gt;Since you have the buttons all on the same variable, it will always toggle the value of it, but you need it to append values. I think in this case you would need a variable for every month, and calculate based on that.&lt;/P&gt;
&lt;P&gt;Something like:&lt;BR /&gt;Rangesum( if( $(vJanuary)=1, sum(Liter1),0), if( $(vFebruary)=1, sum(Liter2),0), ... )&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2024 13:09:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Multiple-selection-variable/m-p/2479616#M100615</guid>
      <dc:creator>madelonjansen</dc:creator>
      <dc:date>2024-09-04T13:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple selection variable</title>
      <link>https://community.qlik.com/t5/App-Development/Multiple-selection-variable/m-p/2479757#M100632</link>
      <description>&lt;P&gt;Thanks for the answer.&lt;/P&gt;
&lt;P&gt;If I had variables for each month and have 1 option for each of them it looks like this. I cannot unselect a variable when selected.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="beyzabetulcelik_0-1725516426580.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171301iC28B975517E2CD2D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="beyzabetulcelik_0-1725516426580.png" alt="beyzabetulcelik_0-1725516426580.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;My other option is creating something like this. It solves my problem technically but it doesn't look good and it's not user friendly.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="beyzabetulcelik_1-1725516477170.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171302i9B534DD24C0A85A7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="beyzabetulcelik_1-1725516477170.png" alt="beyzabetulcelik_1-1725516477170.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thats why I am trying to find an answer that user can choose only months (not something like on off). I think I cannot solve this with variable extension thats why I am looking for another extension.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2024 06:11:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Multiple-selection-variable/m-p/2479757#M100632</guid>
      <dc:creator>beyzabetulcelik</dc:creator>
      <dc:date>2024-09-05T06:11:17Z</dc:date>
    </item>
  </channel>
</rss>

