<?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: Toggle in Qlik Sense in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Toggle-in-Qlik-Sense/m-p/1121650#M19403</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in a future version you will be able to create alternative dimensions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but in the mean time you can create a makeshift cyclic group with the below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create an inline table in the script&lt;/P&gt;&lt;P&gt;DimensionSelector:&lt;BR /&gt;Load * inline&lt;BR /&gt;[&lt;BR /&gt;Selector, Name&lt;BR /&gt;'a','NameA'&lt;BR /&gt;'b','NameB'&lt;BR /&gt;'c','NameC'&lt;BR /&gt;'d','NameD'&lt;BR /&gt;'e','NameE'&lt;BR /&gt;'f','NameF'&lt;BR /&gt;'g','NameG'&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;This will create two new fields 'Selector' and 'Name'&lt;/P&gt;&lt;P&gt;Create a master item dimension with the fields being the dimension you want the user to be able to select&lt;/P&gt;&lt;P&gt;if(Selector='a',[Field A], &lt;BR /&gt;if(Selector='b',[Field B],&lt;BR /&gt;if(Selector='c',[Field C], &lt;BR /&gt;if(Selector='d',[Field D], &lt;BR /&gt;if(Selector='e',[Field E], &lt;BR /&gt;if(Selector='f',[Field F], &lt;BR /&gt;if(Selector='g',[Field G])))))))&lt;/P&gt;&lt;P&gt;Use that master item dimension as a dimension in your chart and create a filter pane with the field 'Name' from the inline table.&lt;/P&gt;&lt;P&gt;Selecting a name in the filter pane will make the chart change, as there is no way to limit the selection to just one it is also wise to add a calculation condition on the chart.Calulation condition can be found under Add-ons &amp;gt; Data handling, I use getselectedcount(Name)=1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 19:43:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-06-16T19:43:28Z</dc:date>
    <item>
      <title>Toggle in Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Toggle-in-Qlik-Sense/m-p/1121648#M19401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;Hope you are doing good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement of Toggle button.&lt;/P&gt;&lt;P&gt;We need to put a toggle button in Dashboard. There would be two text &lt;STRONG&gt;Cumulative&lt;/STRONG&gt; and &lt;STRONG&gt;Non Cumulative. &lt;/STRONG&gt;Depending on the selection it will show either Cumulative chart or Non Cumulative chart. The calculation is only difference between two Chart.&lt;/P&gt;&lt;P&gt;I could do this in Qlikview using variable however in Qlik sense I am not able to do.&lt;/P&gt;&lt;P&gt;Could you please help me on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your time...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sarif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 13:45:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Toggle-in-Qlik-Sense/m-p/1121648#M19401</guid>
      <dc:creator>mhmmd_srf</dc:creator>
      <dc:date>2016-06-15T13:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: Toggle in Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Toggle-in-Qlik-Sense/m-p/1121649#M19402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mohammad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can find extensions at &lt;A href="http://branch.qlik.com/" title="http://branch.qlik.com/"&gt;Qlik Branch&lt;/A&gt;, that do the work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;G.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 07:40:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Toggle-in-Qlik-Sense/m-p/1121649#M19402</guid>
      <dc:creator>undergrinder</dc:creator>
      <dc:date>2016-06-16T07:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: Toggle in Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Toggle-in-Qlik-Sense/m-p/1121650#M19403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in a future version you will be able to create alternative dimensions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but in the mean time you can create a makeshift cyclic group with the below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create an inline table in the script&lt;/P&gt;&lt;P&gt;DimensionSelector:&lt;BR /&gt;Load * inline&lt;BR /&gt;[&lt;BR /&gt;Selector, Name&lt;BR /&gt;'a','NameA'&lt;BR /&gt;'b','NameB'&lt;BR /&gt;'c','NameC'&lt;BR /&gt;'d','NameD'&lt;BR /&gt;'e','NameE'&lt;BR /&gt;'f','NameF'&lt;BR /&gt;'g','NameG'&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;This will create two new fields 'Selector' and 'Name'&lt;/P&gt;&lt;P&gt;Create a master item dimension with the fields being the dimension you want the user to be able to select&lt;/P&gt;&lt;P&gt;if(Selector='a',[Field A], &lt;BR /&gt;if(Selector='b',[Field B],&lt;BR /&gt;if(Selector='c',[Field C], &lt;BR /&gt;if(Selector='d',[Field D], &lt;BR /&gt;if(Selector='e',[Field E], &lt;BR /&gt;if(Selector='f',[Field F], &lt;BR /&gt;if(Selector='g',[Field G])))))))&lt;/P&gt;&lt;P&gt;Use that master item dimension as a dimension in your chart and create a filter pane with the field 'Name' from the inline table.&lt;/P&gt;&lt;P&gt;Selecting a name in the filter pane will make the chart change, as there is no way to limit the selection to just one it is also wise to add a calculation condition on the chart.Calulation condition can be found under Add-ons &amp;gt; Data handling, I use getselectedcount(Name)=1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 19:43:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Toggle-in-Qlik-Sense/m-p/1121650#M19403</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-16T19:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: Toggle in Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Toggle-in-Qlik-Sense/m-p/1121651#M19404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whether you can download Checkbox Master from Qlik branch that allows you to turn on/off variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or you can create a dummy table with 2 values, Cummulative &amp;amp; NonCummulative. Then in your chart expression, depends on what you select: If(GetFieldSelections(Filter)='Cummulative', &amp;lt;exp1&amp;gt;, &amp;lt;exp2&amp;gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The negative thing here is you can't switch your selection, so you have to unselect &amp;amp; select new one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if you use the extension, it'll handle it nicely.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 02:59:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Toggle-in-Qlik-Sense/m-p/1121651#M19404</guid>
      <dc:creator />
      <dc:date>2016-06-17T02:59:50Z</dc:date>
    </item>
  </channel>
</rss>

