<?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 Using dynamic formula in Action:select in Field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-dynamic-formula-in-Action-select-in-Field/m-p/1137210#M373115</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Guys,&lt;/P&gt;&lt;P&gt;Have this question:&lt;/P&gt;&lt;P&gt;In excel you can filter the data based on a range. In Qlikview there is no function for that, so I am trying to build a workaround.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1st step:&lt;/P&gt;&lt;P&gt;So I got some formulas, and I load them in my inline table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load * inline [&lt;/P&gt;&lt;P&gt;SelectionFieldName, Formula&lt;/P&gt;&lt;P&gt;2016 No Visits,"sum({&amp;lt;YEAR={'2016'}&amp;gt;} NV)"&lt;/P&gt;&lt;P&gt;2016 Member Count,"&lt;SPAN style="font-size: 13.3333px;"&gt;sum({&amp;lt;YEAR={'2016'}&amp;gt;} MM)&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So they work in text boxes, if I pick a Selection Field Name. See below:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="127011" alt="1.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/127011_1.jpg" style="height: 104px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the second step: I want to pick and choose a certain field, PCP_No in my case, based on the formula and the variable. The following works, as if I click on it it gives me a list of PCPs that satisfy the criteria. See pic below:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="127012" alt="2.jpg" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/127012_2.jpg" style="height: 299px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But here is the problem: Ideally I want this to work based on the Field I choose, kind like combining the previous 2 steps.&lt;/P&gt;&lt;P&gt;No success. I think single quotes and double quotes might be the issue, but I tried different combos and so far no luck.&lt;/P&gt;&lt;P&gt;See below:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="127013" alt="3.jpg" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/127013_3.jpg" style="height: 273px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have any idea, that will be great. Thank you.&lt;/P&gt;&lt;P&gt;I upload the test qvw.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Jun 2016 21:30:55 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-06-06T21:30:55Z</dc:date>
    <item>
      <title>Using dynamic formula in Action:select in Field</title>
      <link>https://community.qlik.com/t5/QlikView/Using-dynamic-formula-in-Action-select-in-Field/m-p/1137210#M373115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Guys,&lt;/P&gt;&lt;P&gt;Have this question:&lt;/P&gt;&lt;P&gt;In excel you can filter the data based on a range. In Qlikview there is no function for that, so I am trying to build a workaround.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1st step:&lt;/P&gt;&lt;P&gt;So I got some formulas, and I load them in my inline table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load * inline [&lt;/P&gt;&lt;P&gt;SelectionFieldName, Formula&lt;/P&gt;&lt;P&gt;2016 No Visits,"sum({&amp;lt;YEAR={'2016'}&amp;gt;} NV)"&lt;/P&gt;&lt;P&gt;2016 Member Count,"&lt;SPAN style="font-size: 13.3333px;"&gt;sum({&amp;lt;YEAR={'2016'}&amp;gt;} MM)&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So they work in text boxes, if I pick a Selection Field Name. See below:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="127011" alt="1.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/127011_1.jpg" style="height: 104px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the second step: I want to pick and choose a certain field, PCP_No in my case, based on the formula and the variable. The following works, as if I click on it it gives me a list of PCPs that satisfy the criteria. See pic below:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="127012" alt="2.jpg" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/127012_2.jpg" style="height: 299px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But here is the problem: Ideally I want this to work based on the Field I choose, kind like combining the previous 2 steps.&lt;/P&gt;&lt;P&gt;No success. I think single quotes and double quotes might be the issue, but I tried different combos and so far no luck.&lt;/P&gt;&lt;P&gt;See below:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="127013" alt="3.jpg" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/127013_3.jpg" style="height: 273px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have any idea, that will be great. Thank you.&lt;/P&gt;&lt;P&gt;I upload the test qvw.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2016 21:30:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-dynamic-formula-in-Action-select-in-Field/m-p/1137210#M373115</guid>
      <dc:creator />
      <dc:date>2016-06-06T21:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: Using dynamic formula in Action:select in Field</title>
      <link>https://community.qlik.com/t5/QlikView/Using-dynamic-formula-in-Action-select-in-Field/m-p/1137211#M373116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you are right, you need to take care of the quoting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Either remove the single quotes from the set modifier, as far as possible, or use something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='=if(aggr('&amp;amp; Formula&amp;amp;',PCP_No)&amp;gt; $(v_Operation1), PCP_No)'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2016 22:27:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-dynamic-formula-in-Action-select-in-Field/m-p/1137211#M373116</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-06-06T22:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: Using dynamic formula in Action:select in Field</title>
      <link>https://community.qlik.com/t5/QlikView/Using-dynamic-formula-in-Action-select-in-Field/m-p/1137212#M373117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Magical. Thank you! &lt;/P&gt;&lt;P&gt;Now the users can filter the data. This will be great!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2016 22:32:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-dynamic-formula-in-Action-select-in-Field/m-p/1137212#M373117</guid>
      <dc:creator />
      <dc:date>2016-06-06T22:32:22Z</dc:date>
    </item>
  </channel>
</rss>

