<?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: Nested If to create a drop down selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Nested-If-to-create-a-drop-down-selection/m-p/428047#M484442</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;right ... this would build the condition in the chart itself... i know that works... but i can t make the chart dynamic this way .. i.e. no selection equals all data....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can live with this, just wanted to be sure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 May 2013 09:30:49 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-05-31T09:30:49Z</dc:date>
    <item>
      <title>Nested If to create a drop down selection</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-If-to-create-a-drop-down-selection/m-p/428042#M484437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there, i have the following problem with a nested IF statement that won t work in a combined selection.&lt;/P&gt;&lt;P&gt;the code is the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if (conto=62 and (sotco=30 or sotco=3 or sotco=27 or sotco=32 or sotco=15),62,&lt;/P&gt;&lt;P&gt;if(conto=13 and (sotco=6 or sotco=1 or sotco=3), 13, &lt;/P&gt;&lt;P&gt;if((conto=38 and sotco=36),38,&lt;/P&gt;&lt;P&gt;if(conto=12 and (sotco=32 or sotco=60 or sotco=35),12,&lt;/P&gt;&lt;P&gt;if(conto=10 and (sotco=30 or sotco=29 or sotco=26 or sotco=14 or sotco=27),10, &lt;/P&gt;&lt;P&gt;if(conto=23 and (sotco=27 or sotco=19 or sotco=20 or sotco=21 or sotco=22 or sotco=28),23,&lt;/P&gt;&lt;P&gt;if(conto=6 and (sotco=23 or sotco=22 or sotco=5 or sotco=24 or sotco=3 or sotco=18 or sotco=21 or sotco=28 or sotco=29 or sotco=11 or sotco=2 or sotco=27),6)))))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the expression is OK and it is used as a calculated field in a drop down selection object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The two criteria are Conto (parent) and Sotco. My goal is to display for each conto selection only certain sotco values... which works fine if i pick one choice only&lt;/P&gt;&lt;P&gt;for instance is i pick uniquely conto 38 then i see only sotco 36.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however the problem is ... if i select 38 and another let's say 13 i see all combinations possible insteda of the correct one... so i see 38-13, 38-6, 38-1, .... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried a work around by creating a dummy field that would do the following (conto*10000)+sotco = conto0sotco and specifyng all the unique combinations... alas it does exaclty the same as above once i combine them it ignores the nesting and trasnforms everything in one big select all conto and all sotco specified...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody tell if i am doing something wrong ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks!! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 08:40:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-If-to-create-a-drop-down-selection/m-p/428042#M484437</guid>
      <dc:creator />
      <dc:date>2013-05-31T08:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: Nested If to create a drop down selection</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-If-to-create-a-drop-down-selection/m-p/428043#M484438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you're using conto as dimension in your chart replace it with the nested if as a calculated dimension. If that's not the problem please &lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-1290"&gt;create a sample&lt;/A&gt; document. I'm not very good at mind reading yet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 08:49:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-If-to-create-a-drop-down-selection/m-p/428043#M484438</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-05-31T08:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: Nested If to create a drop down selection</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-If-to-create-a-drop-down-selection/m-p/428044#M484439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for picking this topic up &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; i don't expect you to read my mind... but i can t post the file either... since it contains sesitive financial data and i can't break the company confidentiality on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however i took screenshots to help you better understand my question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the expression is a calculated dimension in a drop down selection object. First screenshot shows that.&lt;/P&gt;&lt;P&gt;Second screenshot shows that the selections are all active, third screenshot shows what i don t want to see ( a combo of conto and sotco that should not be satisfied by the formula).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ll see if i can build a dummy file with the same logic for you, but if you spot anything striking please let me know...thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="41904" class="jive-image-thumbnail jive-image" onclick="" alt="conto_shot.jpg" src="https://community.qlik.com/legacyfs/online/41904_conto_shot.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="41905" class="jive-image-thumbnail jive-image" onclick="" alt="conto_shot2.jpg" src="https://community.qlik.com/legacyfs/online/41905_conto_shot2.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="41909" class="jive-image-thumbnail jive-image" onclick="" alt="conto_shot3.jpg" src="https://community.qlik.com/legacyfs/online/41909_conto_shot3.jpg" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 09:04:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-If-to-create-a-drop-down-selection/m-p/428044#M484439</guid>
      <dc:creator />
      <dc:date>2013-05-31T09:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: Nested If to create a drop down selection</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-If-to-create-a-drop-down-selection/m-p/428045#M484440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;added a clean sample &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to see the problem select all the conditions together and look at conto 38 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it has all the sotco instead of only sotco 36&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 09:19:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-If-to-create-a-drop-down-selection/m-p/428045#M484440</guid>
      <dc:creator />
      <dc:date>2013-05-31T09:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: Nested If to create a drop down selection</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-If-to-create-a-drop-down-selection/m-p/428046#M484441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As I said, replace conto with the nested if statement in your chart. See attached example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 09:24:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-If-to-create-a-drop-down-selection/m-p/428046#M484441</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-05-31T09:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: Nested If to create a drop down selection</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-If-to-create-a-drop-down-selection/m-p/428047#M484442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;right ... this would build the condition in the chart itself... i know that works... but i can t make the chart dynamic this way .. i.e. no selection equals all data....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can live with this, just wanted to be sure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 09:30:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-If-to-create-a-drop-down-selection/m-p/428047#M484442</guid>
      <dc:creator />
      <dc:date>2013-05-31T09:30:49Z</dc:date>
    </item>
  </channel>
</rss>

