<?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: Convert SET Analysis with a button/action in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Convert-SET-Analysis-with-a-button-action/m-p/1073481#M358323</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;Yes I agree this will work fine - it's just that I want these selections to be shown on the Source/Destination drop down listboxes that are been displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Alexis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Mar 2016 15:14:01 GMT</pubDate>
    <dc:creator>alexis</dc:creator>
    <dc:date>2016-03-02T15:14:01Z</dc:date>
    <item>
      <title>Convert SET Analysis with a button/action</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-SET-Analysis-with-a-button-action/m-p/1073478#M358320</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;One of my KPIs displays one of 2 values dependent on whether the user has clicked on "Import" or "Export" (see variable &lt;EM&gt;vImportsExportsView&lt;/EM&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= if ($(vImportsExportsView) = 1,&lt;/P&gt;&lt;P&gt;//IMPORT i.e. Source NOT Cyprus&lt;/P&gt;&lt;P&gt;count({&amp;lt;[Source_Region]-={'Cyprus'}&amp;gt;} AWB)&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;// EXPORT i.e. Source = Export and Destination NOT Cyprus&lt;/P&gt;&lt;P&gt;count({&amp;lt;[Source_Region]={'Cyprus'}, [Destination_Region]-={'Cyprus'}&amp;gt;} AWB)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In one of my tabs I want to offer them a button (to switch between Import/Export) and I am not sure what "Actions" I need to define to achieve the above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With "Export" it's easy because I define "&lt;EM&gt;Select in field&lt;/EM&gt;"&lt;/P&gt;&lt;P&gt;Field = &lt;EM&gt;Source_Region&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Search String = &lt;EM&gt;if ($(vImportsExportsView) = 1, 'Cyprus', '')&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure how to handle:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Field = &lt;EM&gt;Destination_Region&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Search String = &lt;EM&gt;???&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;which also applies to "Import"&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Any ideas or suggestions??&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Thanks&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Alexis&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 15:00:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-SET-Analysis-with-a-button-action/m-p/1073478#M358320</guid>
      <dc:creator>alexis</dc:creator>
      <dc:date>2016-03-02T15:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: Convert SET Analysis with a button/action</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-SET-Analysis-with-a-button-action/m-p/1073479#M358321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure, but what if you do this via a variable.&lt;/P&gt;&lt;P&gt;Set a variable (named vVar) using the following expression -&amp;gt; &lt;STRONG&gt;If(vVar = 1, 0, 1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then use this expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(vVar = 1, &lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;count({&amp;lt;[Source_Region]-={'Cyprus'}&amp;gt;} AWB), &lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;count({&amp;lt;[Source_Region]={'Cyprus'}, [Destination_Region]-={'Cyprus'}&amp;gt;} AWB))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 15:05:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-SET-Analysis-with-a-button-action/m-p/1073479#M358321</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-02T15:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: Convert SET Analysis with a button/action</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-SET-Analysis-with-a-button-action/m-p/1073480#M358322</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;this solution will work.&lt;/P&gt;&lt;P&gt;Just a remark to the toggling of the vVar from 0 to 1.&lt;/P&gt;&lt;P&gt;This Expression is shorter:&lt;/P&gt;&lt;P&gt;$(vVar) BITXOR 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also if you have only 0 and 1 you could use instead of:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(vVar = 1, &lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;count&amp;nbsp; .... )&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(vVar, count ...)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You'll save some CPU Cycles.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 15:09:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-SET-Analysis-with-a-button-action/m-p/1073480#M358322</guid>
      <dc:creator>schlettig</dc:creator>
      <dc:date>2016-03-02T15:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Convert SET Analysis with a button/action</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-SET-Analysis-with-a-button-action/m-p/1073481#M358323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;Yes I agree this will work fine - it's just that I want these selections to be shown on the Source/Destination drop down listboxes that are been displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Alexis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 15:14:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-SET-Analysis-with-a-button-action/m-p/1073481#M358323</guid>
      <dc:creator>alexis</dc:creator>
      <dc:date>2016-03-02T15:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: Convert SET Analysis with a button/action</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-SET-Analysis-with-a-button-action/m-p/1073482#M358324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can learn about search strings at this place more than any other place: &lt;A href="https://community.qlik.com/docs/DOC-15671"&gt;Compound Search - demystified&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 16:13:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-SET-Analysis-with-a-button-action/m-p/1073482#M358324</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-02T16:13:05Z</dc:date>
    </item>
  </channel>
</rss>

