<?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: fieldvalue and fieldvalue count does not working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/fieldvalue-and-fieldvalue-count-does-not-working/m-p/1303239#M837769</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have used the following code:&lt;/P&gt;&lt;P&gt;[Final]:&lt;/P&gt;&lt;P&gt;load *&lt;/P&gt;&lt;P&gt;where Exists(Key1,Key2);&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;"%Sales Posting Day Key",&lt;/P&gt;&lt;P&gt;[Sales Posting Amount USD] as SalesAmounts,&lt;/P&gt;&lt;P&gt;"%Posting Date Key" as DateKey,&lt;/P&gt;&lt;P&gt;[Process Date] as PDate,&lt;/P&gt;&lt;P&gt;[%Sales Rep Key] as Key2&lt;/P&gt;&lt;P&gt;resident [Temp Table]&lt;/P&gt;&lt;P&gt;where&lt;/P&gt;&lt;P&gt; "%Posting Date Key" &amp;lt;= '$(vPrevYearEndDate)' and&lt;/P&gt;&lt;P&gt; "%Posting Date Key" &amp;gt;= '$(vPrevEightYearStartDate)' and&lt;/P&gt;&lt;P&gt; [Sales Posting Amount USD]=0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but want to use all the condition in the preceding load, so is there any option to do that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 21 May 2017 16:17:30 GMT</pubDate>
    <dc:creator>ananyaghosh</dc:creator>
    <dc:date>2017-05-21T16:17:30Z</dc:date>
    <item>
      <title>fieldvalue and fieldvalue count does not working</title>
      <link>https://community.qlik.com/t5/QlikView/fieldvalue-and-fieldvalue-count-does-not-working/m-p/1303231#M837761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;H6&gt;I a using the below script:&lt;/H6&gt;&lt;H6&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[TmpSalesRep]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 10pt;"&gt;load&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;"%Sales Posting Day Key"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[Sales Posting Amount USD]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;SalesAmount&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[%Sales Rep Key]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;AsOfSalesRepID&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[Temp Table]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;where&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;"%Posting Date Key"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; = '20170307' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;"Sales Posting Amount USD"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;gt;0;&lt;BR /&gt; Now the above table has 1307 records, but the below table generate only 607 records with all rows have &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;'?' value.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[TmpSalesRep3]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 10pt;"&gt;Load&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;fieldvalue&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;('AsOfSalesRepID',&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;recno&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;()) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;SalesRepIDTmp&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;AUTOGENERATE&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;fieldvaluecount&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;('AsOfSalesRepID'); &lt;/SPAN&gt;&lt;/H6&gt;&lt;H6&gt;&lt;/H6&gt;&lt;H6&gt;&lt;/H6&gt;&lt;H6&gt;&lt;SPAN style="font-size: 10pt;"&gt;Please help me&lt;/SPAN&gt;&lt;/H6&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/fieldvalue-and-fieldvalue-count-does-not-working/m-p/1303231#M837761</guid>
      <dc:creator>ananyaghosh</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: fieldvalue and fieldvalue count does not working</title>
      <link>https://community.qlik.com/t5/QlikView/fieldvalue-and-fieldvalue-count-does-not-working/m-p/1303232#M837762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it is because of the multiple AsOfSalesRepID.&amp;nbsp; Remember FieldValue() and FieldValueCount()&amp;nbsp; will only work with distinct field values. Because you are having multiple Rep IDs yiou are facing that issue.&lt;/P&gt;&lt;P&gt;Hope this helps...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 May 2017 11:10:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/fieldvalue-and-fieldvalue-count-does-not-working/m-p/1303232#M837762</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2017-05-20T11:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: fieldvalue and fieldvalue count does not working</title>
      <link>https://community.qlik.com/t5/QlikView/fieldvalue-and-fieldvalue-count-does-not-working/m-p/1303233#M837763</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&gt;[TmpSalesRep3]:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Load &lt;SPAN style="color: #ff0000;"&gt;Text(&lt;/SPAN&gt;FieldValue('AsOfSalesRepID', RecNo())&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt; as SalesRepIDTmp&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;AutoGenerate FieldValueCount('AsOfSalesRepID');&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on this thread&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/32173"&gt;Multiple Question mark in list box&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 May 2017 11:13:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/fieldvalue-and-fieldvalue-count-does-not-working/m-p/1303233#M837763</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-05-20T11:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: fieldvalue and fieldvalue count does not working</title>
      <link>https://community.qlik.com/t5/QlikView/fieldvalue-and-fieldvalue-count-does-not-working/m-p/1303234#M837764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok,&lt;/P&gt;&lt;P&gt;Can you help me on the below script:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[Final]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 10pt;"&gt;load&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;"%Sales Posting Day Key"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[Sales Posting Amount USD]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;SalesAmounts&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[%Sales Rep Key]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Key&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 10pt;"&gt;//,num(fieldvalue('SalesRepIDSandip',recno())) as Key2&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[Temp Table]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;where&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Exists&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(ID,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Key&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;here where exists clause cannot find 'Key' column. Any idea how to use that?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 May 2017 12:42:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/fieldvalue-and-fieldvalue-count-does-not-working/m-p/1303234#M837764</guid>
      <dc:creator>ananyaghosh</dc:creator>
      <dc:date>2017-05-20T12:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: fieldvalue and fieldvalue count does not working</title>
      <link>https://community.qlik.com/t5/QlikView/fieldvalue-and-fieldvalue-count-does-not-working/m-p/1303235#M837765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Key is an alias for &lt;SPAN style="color: #800000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;[%Sales Rep Key], hence&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;WHERE EXISTS(ID, &lt;SPAN style="color: #800000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;[%Sales Rep Key]);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 May 2017 12:43:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/fieldvalue-and-fieldvalue-count-does-not-working/m-p/1303235#M837765</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-05-20T12:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: fieldvalue and fieldvalue count does not working</title>
      <link>https://community.qlik.com/t5/QlikView/fieldvalue-and-fieldvalue-count-does-not-working/m-p/1303236#M837766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stefan is right here, you can only use a field which is available in your load... if you are renaming it to something else it will only be available after the particular load has completed... so in your case you have 2 options&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) As Stefan mentioned&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[Final]:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;LOAD "%Sales Posting Day Key",&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Sales Posting Amount USD] as SalesAmounts,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [%Sales Rep Key] as Key&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;resident [Temp Table]&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="color: #ff0000;"&gt;where Exists(ID, [%Sales Rep Key]);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Do this in a preceding load or resident load&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[Final]:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;LOAD *&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;where Exists(ID, Key);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD "%Sales Posting Day Key",&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Sales Posting Amount USD] as SalesAmounts,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [%Sales Rep Key] as Key&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;resident [Temp Table];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I took the Where Exists to preceding load making it possible for me to use the new renamed field (Key) to be used in the Where Exists function&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 May 2017 14:14:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/fieldvalue-and-fieldvalue-count-does-not-working/m-p/1303236#M837766</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-05-20T14:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: fieldvalue and fieldvalue count does not working</title>
      <link>https://community.qlik.com/t5/QlikView/fieldvalue-and-fieldvalue-count-does-not-working/m-p/1303237#M837767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have used your suggestion and using the below code:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[TmpSalesRep]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 10pt;"&gt;load&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[%Sales Rep Key]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Key1&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[Temp Table]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;where &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;"%Posting Date Key"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; = '20170307' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;"Sales Posting Amount USD"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;gt;0;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[Final]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 10pt;"&gt;load&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; *&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;where&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Exists&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Key1&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Key2&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 10pt;"&gt;/*and &lt;BR /&gt; //if(Key1=Key2,'Same ID', 'Different ID') as 'FlagID'*/&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 10pt;"&gt;Load&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;"%Sales Posting Day Key"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[Sales Posting Amount USD]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;SalesAmounts&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;"%Posting Date Key"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;DateKey&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[Process Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;PDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[%Sales Rep Key]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Key2&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[Temp Table]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;where&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;"%Posting Date Key"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &amp;lt;= '$(vPrevYearEndDate)' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;"%Posting Date Key"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &amp;gt;= '$(vPrevEightYearStartDate)' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[Sales Posting Amount USD]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;=0; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;So Can I add one more conditions or flags in the preceding load with where exists clause like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 10pt;"&gt;load&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; *&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;where&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Exists&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Key1&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Key2&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 10pt;"&gt;and &lt;BR /&gt; if(Key1=Key2,'Same ID', 'Different ID') as 'FlagID'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 10pt;"&gt;and if I am adding one more condition it gives me error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 10pt;"&gt;Can u give me the correct syntax for it?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 10pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 10pt;"&gt;Sandip&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 May 2017 08:28:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/fieldvalue-and-fieldvalue-count-does-not-working/m-p/1303237#M837767</guid>
      <dc:creator>ananyaghosh</dc:creator>
      <dc:date>2017-05-21T08:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: fieldvalue and fieldvalue count does not working</title>
      <link>https://community.qlik.com/t5/QlikView/fieldvalue-and-fieldvalue-count-does-not-working/m-p/1303238#M837768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You want to add more conditions? What is that condition If(Key1 = Key2,....)? Although, Key1 doesn't even exists in your table load, even if it did what would be the use of this because you are only bringing Key2 which exists in Key1 field... so when would you expect key1 to not equal to key2?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 May 2017 11:22:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/fieldvalue-and-fieldvalue-count-does-not-working/m-p/1303238#M837768</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-05-21T11:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: fieldvalue and fieldvalue count does not working</title>
      <link>https://community.qlik.com/t5/QlikView/fieldvalue-and-fieldvalue-count-does-not-working/m-p/1303239#M837769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have used the following code:&lt;/P&gt;&lt;P&gt;[Final]:&lt;/P&gt;&lt;P&gt;load *&lt;/P&gt;&lt;P&gt;where Exists(Key1,Key2);&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;"%Sales Posting Day Key",&lt;/P&gt;&lt;P&gt;[Sales Posting Amount USD] as SalesAmounts,&lt;/P&gt;&lt;P&gt;"%Posting Date Key" as DateKey,&lt;/P&gt;&lt;P&gt;[Process Date] as PDate,&lt;/P&gt;&lt;P&gt;[%Sales Rep Key] as Key2&lt;/P&gt;&lt;P&gt;resident [Temp Table]&lt;/P&gt;&lt;P&gt;where&lt;/P&gt;&lt;P&gt; "%Posting Date Key" &amp;lt;= '$(vPrevYearEndDate)' and&lt;/P&gt;&lt;P&gt; "%Posting Date Key" &amp;gt;= '$(vPrevEightYearStartDate)' and&lt;/P&gt;&lt;P&gt; [Sales Posting Amount USD]=0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but want to use all the condition in the preceding load, so is there any option to do that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 May 2017 16:17:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/fieldvalue-and-fieldvalue-count-does-not-working/m-p/1303239#M837769</guid>
      <dc:creator>ananyaghosh</dc:creator>
      <dc:date>2017-05-21T16:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: fieldvalue and fieldvalue count does not working</title>
      <link>https://community.qlik.com/t5/QlikView/fieldvalue-and-fieldvalue-count-does-not-working/m-p/1303240#M837770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You mean like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;[Final]:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;LOAD *&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Where Exists(Key1,Key2) and DateKey &amp;lt;= '$(vPrevYearEndDate)' and DateKey &amp;gt;= '$(vPrevEightYearStartDate)' and SalesAmounts = 0;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;LOAD "%Sales Posting Day Key",&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Sales Posting Amount USD] as SalesAmounts,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "%Posting Date Key" as DateKey,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Process Date] as PDate,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [%Sales Rep Key] as Key2&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Resident [Temp Table];&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 May 2017 16:22:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/fieldvalue-and-fieldvalue-count-does-not-working/m-p/1303240#M837770</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-05-21T16:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: fieldvalue and fieldvalue count does not working</title>
      <link>https://community.qlik.com/t5/QlikView/fieldvalue-and-fieldvalue-count-does-not-working/m-p/1303241#M837771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 May 2017 16:33:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/fieldvalue-and-fieldvalue-count-does-not-working/m-p/1303241#M837771</guid>
      <dc:creator>ananyaghosh</dc:creator>
      <dc:date>2017-05-21T16:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: fieldvalue and fieldvalue count does not working</title>
      <link>https://community.qlik.com/t5/QlikView/fieldvalue-and-fieldvalue-count-does-not-working/m-p/1303242#M837772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cool &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;, I am glad it worked out for you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 May 2017 16:46:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/fieldvalue-and-fieldvalue-count-does-not-working/m-p/1303242#M837772</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-05-21T16:46:02Z</dc:date>
    </item>
  </channel>
</rss>

