<?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 turn IF statement into set analysis expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/turn-IF-statement-into-set-analysis-expression/m-p/480821#M483769</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I turn this simple if statement used in a chart table&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13715363610838074" jivemacro_uid="_13715363610838074"&gt;&lt;P&gt;&lt;SPAN&gt;=if(Currency &amp;lt;&amp;gt; 'EUR', Currency &amp;amp; ' Conversion Table' &amp;amp; '&amp;lt;url&amp;gt;&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.x-rates.com/d/"&gt;http://www.x-rates.com/d/&lt;/A&gt;&lt;SPAN&gt;' &amp;amp; Currency &amp;amp; '/table.html',0)&lt;/SPAN&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;into a statment that won't change no matter what is selected.&lt;/P&gt;&lt;P&gt;Right now only the selected or possible values have an effect on the table. Which leaves me with some empty url links.&lt;/P&gt;&lt;P&gt;I'm guessing set analysis is needed for this but I couldn't figure out a syntax to get the job done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Jun 2013 06:29:42 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-06-18T06:29:42Z</dc:date>
    <item>
      <title>turn IF statement into set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/turn-IF-statement-into-set-analysis-expression/m-p/480821#M483769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I turn this simple if statement used in a chart table&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13715363610838074" jivemacro_uid="_13715363610838074"&gt;&lt;P&gt;&lt;SPAN&gt;=if(Currency &amp;lt;&amp;gt; 'EUR', Currency &amp;amp; ' Conversion Table' &amp;amp; '&amp;lt;url&amp;gt;&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.x-rates.com/d/"&gt;http://www.x-rates.com/d/&lt;/A&gt;&lt;SPAN&gt;' &amp;amp; Currency &amp;amp; '/table.html',0)&lt;/SPAN&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;into a statment that won't change no matter what is selected.&lt;/P&gt;&lt;P&gt;Right now only the selected or possible values have an effect on the table. Which leaves me with some empty url links.&lt;/P&gt;&lt;P&gt;I'm guessing set analysis is needed for this but I couldn't figure out a syntax to get the job done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 06:29:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/turn-IF-statement-into-set-analysis-expression/m-p/480821#M483769</guid>
      <dc:creator />
      <dc:date>2013-06-18T06:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: turn IF statement into set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/turn-IF-statement-into-set-analysis-expression/m-p/480822#M483770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Generally you can get this from set analysis as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=SUM({$&amp;lt;Currency=-&amp;gt;Field}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 06:36:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/turn-IF-statement-into-set-analysis-expression/m-p/480822#M483770</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2013-06-18T06:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: turn IF statement into set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/turn-IF-statement-into-set-analysis-expression/m-p/480823#M483771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TRY THIS IN SET ANALYSIS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SUM({&amp;lt;&lt;CODE class="jive-code"&gt;Currency -&lt;/CODE&gt;= {'EUR'}&amp;gt;}&amp;nbsp; &lt;CODE class="jive-code"&gt;Currency&lt;/CODE&gt;&amp;nbsp;&amp;nbsp; ) &lt;CODE class="jive-code"&gt;&lt;SPAN&gt;&amp;amp; ' Conversion Table' &amp;amp; '&amp;lt;url&amp;gt;&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.x-rates.com/d/"&gt;http://www.x-rates.com/d/&lt;/A&gt;&lt;SPAN&gt;'&amp;nbsp; &amp;amp; '/table.html'&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 06:49:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/turn-IF-statement-into-set-analysis-expression/m-p/480823#M483771</guid>
      <dc:creator />
      <dc:date>2013-06-18T06:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: turn IF statement into set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/turn-IF-statement-into-set-analysis-expression/m-p/480824#M483772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you vishwaranjan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've change the statement to:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=avg({1&amp;lt;Currency -= {'EUR'}&amp;gt;}&amp;nbsp; Currency&amp;nbsp;&amp;nbsp; ) &amp;amp; Currency&amp;nbsp; &amp;amp; ' Conversion Table' &amp;amp; '&amp;lt;url&amp;gt;&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.x-rates.com/d/"&gt;http://www.x-rates.com/d/&lt;/A&gt;&lt;SPAN&gt;'&amp;nbsp; &amp;amp; Currency &amp;amp; '/table.html'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but still I only get the selected values with the correct link. &lt;/P&gt;&lt;P&gt;I should add that I'm using the Currency as the &lt;STRONG&gt;dimension&lt;/STRONG&gt; field. Could this be the problem, and how could I fix it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 07:31:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/turn-IF-statement-into-set-analysis-expression/m-p/480824#M483772</guid>
      <dc:creator />
      <dc:date>2013-06-18T07:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: turn IF statement into set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/turn-IF-statement-into-set-analysis-expression/m-p/480825#M483773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I adapted this from the "&lt;STRONG&gt;Data Visualization&lt;/STRONG&gt;" Demo. In the sheet "&lt;STRONG&gt;Sparklines&lt;/STRONG&gt;" you will find the "&lt;STRONG&gt;USD Exchange Rates&lt;/STRONG&gt;"-Chart. If you add a "&lt;STRONG&gt;Currency&lt;/STRONG&gt;" Listbox to the sheet and select one or more values you can see what happens - what I don't want to happen -&amp;gt; the url links break for the non-selected currencies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 11:15:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/turn-IF-statement-into-set-analysis-expression/m-p/480825#M483773</guid>
      <dc:creator />
      <dc:date>2013-06-18T11:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: turn IF statement into set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/turn-IF-statement-into-set-analysis-expression/m-p/480826#M483774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 12:29:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/turn-IF-statement-into-set-analysis-expression/m-p/480826#M483774</guid>
      <dc:creator />
      <dc:date>2013-06-19T12:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: turn IF statement into set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/turn-IF-statement-into-set-analysis-expression/m-p/480827#M483775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Often, people set up a small table of Currency options as a "data island". That allows your document user to select a desired currency but the different currency types are not really associated with the rest of the data. Under those circumstances you cannot use set analysis to make your expression work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something that has worked for me is to make the desired currency identifier part of the conversion table. Then, when the document user selects, for example, Euro, the currency conversion factors for Euro automatically become the only available value and my expressions work fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jun 2013 19:57:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/turn-IF-statement-into-set-analysis-expression/m-p/480827#M483775</guid>
      <dc:creator />
      <dc:date>2013-06-21T19:57:25Z</dc:date>
    </item>
  </channel>
</rss>

