<?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: How to extract data from field? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-extract-data-from-field/m-p/673508#M1071144</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks all for your reply. I found another way a simple way of working instead of this way which is complicated. But still thanks everyone.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Sep 2014 21:22:37 GMT</pubDate>
    <dc:creator>oliviatww</dc:creator>
    <dc:date>2014-09-01T21:22:37Z</dc:date>
    <item>
      <title>How to extract data from field?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-extract-data-from-field/m-p/673502#M1071138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure how to extract data from field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, I have a field called 'Numerator' and the data for this field is either 0 or 1. Now I have a list box of 3 different flag (eg a, b, c) and a chart straight table showing all the information and what I would like to do is to create an expression saying that if I click on one of the flag from the flag list box, the expression I want in the chart straight table should show field numerator 1 but not 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know to use the conditional for the expression part when select any flag from the flag list box, but no idea how to extract 0 from numerator field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2014 21:01:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-extract-data-from-field/m-p/673502#M1071138</guid>
      <dc:creator>oliviatww</dc:creator>
      <dc:date>2014-08-28T21:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract data from field?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-extract-data-from-field/m-p/673503#M1071139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure i understand your question correctly...what do you meant by extract 0 from field Numerator?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if your expression to show 1 when you select any element in flag list box you can use the below expression..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(getselectedcount(falg) &amp;gt;0, 1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;share example that will be helpful..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2014 21:06:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-extract-data-from-field/m-p/673503#M1071139</guid>
      <dc:creator>phaneendra_kunc</dc:creator>
      <dc:date>2014-08-28T21:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract data from field?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-extract-data-from-field/m-p/673504#M1071140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply Phaneendra, but this is not what I mean.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have fields that are:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [a_NUMERATOR] - returns 0 or 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [b_NUMERATOR] - returns 0 or 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [c_NUMERATOR] - returns 0 or 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then put these 3 fields in a list box. When user select one of the field, the table expression should show information of 1 but not 0. For example, if user select [b_NUMERATOR] from the list box, then the table should show information of 1, not a string '1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the explanation anyway.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2014 21:21:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-extract-data-from-field/m-p/673504#M1071140</guid>
      <dc:creator>oliviatww</dc:creator>
      <dc:date>2014-08-28T21:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract data from field?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-extract-data-from-field/m-p/673505#M1071141</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;Try wiht something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your ecpression -&amp;gt; IF(GetSelectedCount(flag) &amp;gt; 0, Sum({&amp;lt;Numerator={1}&amp;gt;} MetricField), Sum(MetricField))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or cretate two expression&amp;nbsp; one per Sum({&amp;lt;Numerator={1}&amp;gt;} MetricField) and second for show all Numerators Sum(MetricFiled) then select expression one and select "Conditional" check box in top of Expression sheet tip GetSelectedCount(Flag)&amp;gt;0. Finally select second expression and select "Conditional" check box and tip GetSelectedCount(Flag)=0&amp;nbsp; (See image)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;IMG alt="GetSelectedCount.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/65521_GetSelectedCount.png" style="width: 620px; height: 550px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2014 21:30:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-extract-data-from-field/m-p/673505#M1071141</guid>
      <dc:creator />
      <dc:date>2014-08-28T21:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract data from field?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-extract-data-from-field/m-p/673506#M1071142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It will be very easy to me if you can share a sample app.. seems you are looking for some kind of trick that needs to apply when you choose your fields from the list box. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2014 21:43:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-extract-data-from-field/m-p/673506#M1071142</guid>
      <dc:creator>phaneendra_kunc</dc:creator>
      <dc:date>2014-08-28T21:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract data from field?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-extract-data-from-field/m-p/673507#M1071143</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Conditional&lt;/P&gt;&lt;P&gt;=if(getselectedcount(flag), 1, 0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt; Sum({&amp;lt;Numerator={1}&amp;gt;} FieldName)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2014 05:37:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-extract-data-from-field/m-p/673507#M1071143</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2014-08-29T05:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract data from field?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-extract-data-from-field/m-p/673508#M1071144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks all for your reply. I found another way a simple way of working instead of this way which is complicated. But still thanks everyone.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Sep 2014 21:22:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-extract-data-from-field/m-p/673508#M1071144</guid>
      <dc:creator>oliviatww</dc:creator>
      <dc:date>2014-09-01T21:22:37Z</dc:date>
    </item>
  </channel>
</rss>

