<?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 Set Analysis with Variables- between two variable amount fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-Variables-between-two-variable-amount-fields/m-p/1248804#M395548</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to show a text box that counts the number of ids that fall within these two variable amounts- vHighDollar and vLow Dollar. I tried this as a set analysis too using the wizard (see below the first calculation) but neither are working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Original Calculation attempt:&lt;/P&gt;&lt;P&gt;=' Targeted Population ' &amp;amp; &lt;SPAN style="font-size: 10pt;"&gt;Num(If(Paid_Amount&amp;lt;=vHighDollar &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;and Paid_Amount&amp;gt;=vLowDollar&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, count({[1]}ID_Number)),'###,##0')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set analysis attempt?&lt;/P&gt;&lt;P&gt;=Count({1&amp;lt;={"&amp;gt;=$(=vLowDollar)&amp;lt;$(=vHighDollar)"}&amp;gt;}ID_Number)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once i make a selection of claim number in the list box, I don't want this targeted population number to change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have ANOTHER text box next to it that I want to show the same thing except once i make a selection, i want that number to show the count of selections of id numbers that fall between those variable paid amounts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please show me both ways of doing this (set analysis and if statement)? Thanks!!&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Feb 2017 18:51:03 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-02-22T18:51:03Z</dc:date>
    <item>
      <title>Set Analysis with Variables- between two variable amount fields</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-Variables-between-two-variable-amount-fields/m-p/1248804#M395548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to show a text box that counts the number of ids that fall within these two variable amounts- vHighDollar and vLow Dollar. I tried this as a set analysis too using the wizard (see below the first calculation) but neither are working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Original Calculation attempt:&lt;/P&gt;&lt;P&gt;=' Targeted Population ' &amp;amp; &lt;SPAN style="font-size: 10pt;"&gt;Num(If(Paid_Amount&amp;lt;=vHighDollar &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;and Paid_Amount&amp;gt;=vLowDollar&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, count({[1]}ID_Number)),'###,##0')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set analysis attempt?&lt;/P&gt;&lt;P&gt;=Count({1&amp;lt;={"&amp;gt;=$(=vLowDollar)&amp;lt;$(=vHighDollar)"}&amp;gt;}ID_Number)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once i make a selection of claim number in the list box, I don't want this targeted population number to change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have ANOTHER text box next to it that I want to show the same thing except once i make a selection, i want that number to show the count of selections of id numbers that fall between those variable paid amounts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please show me both ways of doing this (set analysis and if statement)? Thanks!!&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2017 18:51:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-Variables-between-two-variable-amount-fields/m-p/1248804#M395548</guid>
      <dc:creator />
      <dc:date>2017-02-22T18:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with Variables- between two variable amount fields</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-Variables-between-two-variable-amount-fields/m-p/1248805#M395549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;=Count({1&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ID_Number&lt;/SPAN&gt; = {"=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Paid_Amount&lt;/SPAN&gt; &amp;gt;= vLowDollar and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Paid_Amount&lt;/SPAN&gt; &amp;lt; vHighDollar"}&amp;gt;}ID_Number)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2017 18:54:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-Variables-between-two-variable-amount-fields/m-p/1248805#M395549</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-02-22T18:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with Variables- between two variable amount fields</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-Variables-between-two-variable-amount-fields/m-p/1248806#M395550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny! That works for the second box, but I want this number to stay static no matter what selection I pick. I tried changing the 1 to $ but that didn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I make this number stay the same if I pick an ID that meets these qualifications?&lt;/P&gt;&lt;P&gt;aka its showing 100, when I choose an ID it goes to 1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2017 20:26:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-Variables-between-two-variable-amount-fields/m-p/1248806#M395550</guid>
      <dc:creator />
      <dc:date>2017-02-22T20:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with Variables- between two variable amount fields</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-Variables-between-two-variable-amount-fields/m-p/1248807#M395551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do you define vLowDollar and vHighDollar? Are these hardcoded values or expressions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2017 20:30:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-Variables-between-two-variable-amount-fields/m-p/1248807#M395551</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-02-22T20:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with Variables- between two variable amount fields</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-Variables-between-two-variable-amount-fields/m-p/1248808#M395552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;These are variables that get defined through an input box&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2017 14:10:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-Variables-between-two-variable-amount-fields/m-p/1248808#M395552</guid>
      <dc:creator />
      <dc:date>2017-02-27T14:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with Variables- between two variable amount fields</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-Variables-between-two-variable-amount-fields/m-p/1248809#M395553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Count({1&amp;lt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;ID_Number&lt;/SPAN&gt; = {"=&lt;SPAN style="color: #ff0000;"&gt;Only({1}&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px;"&gt;Paid_Amount&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt; &amp;gt;= vLowDollar and &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #ff0000;"&gt;Only({1}&lt;/SPAN&gt; &lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px;"&gt;Paid_Amount&lt;STRONG style=": ; color: #ff0000; font-size: 13.3333px; font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt; &amp;lt; vHighDollar"}&amp;gt;}ID_Number)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2017 14:16:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-Variables-between-two-variable-amount-fields/m-p/1248809#M395553</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-02-27T14:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with Variables- between two variable amount fields</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-Variables-between-two-variable-amount-fields/m-p/1248810#M395554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Sunny!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2017 14:26:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-Variables-between-two-variable-amount-fields/m-p/1248810#M395554</guid>
      <dc:creator />
      <dc:date>2017-02-27T14:26:19Z</dc:date>
    </item>
  </channel>
</rss>

