<?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: Expression Help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1868566#M1216456</link>
    <description>&lt;P&gt;Hi Nitin,&lt;/P&gt;
&lt;P&gt;It is OK, we will see the data week wise, So there is no problem, If we do the same for first record of data, But I have to do substract from v_Others - v_PUB.&lt;/P&gt;
&lt;P&gt;I need output like - 136057 - 50 = 136007&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Thu, 09 Dec 2021 11:09:38 GMT</pubDate>
    <dc:creator>sona_sa</dc:creator>
    <dc:date>2021-12-09T11:09:38Z</dc:date>
    <item>
      <title>Expression Help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1866038#M1216329</link>
      <description>&lt;P&gt;Hi Friends,&lt;/P&gt;
&lt;P&gt;I have Some no. of raw data, Now I have to make an expression Like - In Others Row - The Value will substract the Value from Top 50 Row.&lt;/P&gt;
&lt;P&gt;I have given the Input and Output in attached xls. Please check the xls and help me to make an expression for the same.&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 13:32:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1866038#M1216329</guid>
      <dc:creator>sona_sa</dc:creator>
      <dc:date>2021-12-02T13:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1866300#M1216336</link>
      <description>&lt;P&gt;No Solution or Any Doubts.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2021 04:47:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1866300#M1216336</guid>
      <dc:creator>sona_sa</dc:creator>
      <dc:date>2021-12-03T04:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1866437#M1216341</link>
      <description>&lt;P&gt;try below code&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;ABC:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;LOAD&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;Category,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;ID,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;"Call",&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;"%"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;FROM [lib://Desktop/DATA.xls]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;(biff, embedded labels, header is 1 lines, table is Sheet1$);&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;temp1:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;Load&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;Category ,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;ID&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;Resident ABC where MixMatch(Category,'Others') ; &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;Let v_Others=Peek('ID',0,'temp1'); &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;Drop Table temp1;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;temp2:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;Load&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;Category ,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;ID &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;Resident ABC where MixMatch(Category,'Top 50') ;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;Let v_Top50=Peek('ID',0,'temp2'); &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;Drop Table temp2;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;NoConcatenate&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;Final:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;Load&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;Category,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;if(MixMatch(Category,'Others'),('$(v_Others)'-'$(v_Top50)'),ID) as ID,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;ID as ID1,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;"Call",&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;"%"&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;Resident ABC;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;Drop Table ABC;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NitinK7_0-1638527768573.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/67877i0F076E5D3DE6AF47/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NitinK7_0-1638527768573.png" alt="NitinK7_0-1638527768573.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2021 10:36:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1866437#M1216341</guid>
      <dc:creator>NitinK7</dc:creator>
      <dc:date>2021-12-03T10:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1866489#M1216343</link>
      <description>&lt;P&gt;Thanks for the same. Let me try the same.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2021 12:12:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1866489#M1216343</guid>
      <dc:creator>sona_sa</dc:creator>
      <dc:date>2021-12-03T12:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1867956#M1216405</link>
      <description>&lt;P&gt;Hi Nitin,&lt;/P&gt;
&lt;P&gt;Can you check my code and let me know, Where my code is wrong ?&lt;/P&gt;
&lt;P&gt;I am not able to do the same.&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Dec 2021 08:08:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1867956#M1216405</guid>
      <dc:creator>sona_sa</dc:creator>
      <dc:date>2021-12-08T08:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1867968#M1216406</link>
      <description>&lt;P&gt;if possible then can you please send me using .qvf file,&lt;/P&gt;
&lt;P&gt;I dont have license version of qvw so unable to open your .qvw file&lt;/P&gt;</description>
      <pubDate>Wed, 08 Dec 2021 08:55:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1867968#M1216406</guid>
      <dc:creator>NitinK7</dc:creator>
      <dc:date>2021-12-08T08:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1867981#M1216407</link>
      <description>&lt;P&gt;check once how many records are there in&amp;nbsp;&lt;FONT color="#339966"&gt;Stock_Temp1 and&amp;nbsp;Stock_Temp2&amp;nbsp; table&lt;STRONG&gt; highlighted in green&lt;/STRONG&gt;&lt;FONT color="#000000"&gt; (should be only one)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;Stock_Temp1:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;LOAD&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;Category,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;Cases&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;Resident Stock where MixMatch(Category,'RESIDENT INDIVIDUALS') ;&lt;/FONT&gt;&lt;BR /&gt;Let v_Others=Peek('Cases',0,'Stock_Temp1');&lt;BR /&gt;Drop Table Stock_Temp1;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;Stock_Temp2:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;LOAD&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;Category,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;Cases&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;Resident Stock where MixMatch(Category,'PUB') ;&lt;/FONT&gt;&lt;BR /&gt;Let v_PUB=Peek('Cases',0,'Stock_Temp2');&lt;BR /&gt;Drop Table Stock_Temp2;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Dec 2021 09:22:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1867981#M1216407</guid>
      <dc:creator>NitinK7</dc:creator>
      <dc:date>2021-12-08T09:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1867989#M1216410</link>
      <description>&lt;P&gt;Hi Nitin,&lt;/P&gt;
&lt;P&gt;Stock_Temp1 - 5 Rows&lt;/P&gt;
&lt;P&gt;Stock_Temp2 - 250 Rows&lt;/P&gt;
&lt;P&gt;Stock_Final - 34041 Rows.&lt;/P&gt;
&lt;P&gt;I am not getting variable = v_PUB value, v_Others Value is coming properly.&lt;/P&gt;
&lt;P&gt;Please check attached QVW. Same code I am using here.&lt;/P&gt;
&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Dec 2021 09:36:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1867989#M1216410</guid>
      <dc:creator>sona_sa</dc:creator>
      <dc:date>2021-12-08T09:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1868054#M1216417</link>
      <description>&lt;P&gt;only looking the script its very difficult to find oud solution&lt;/P&gt;
&lt;P&gt;it would be great if you provide&amp;nbsp;&lt;STRONG&gt;Stock table data in excel &lt;/STRONG&gt;With &lt;STRONG&gt;masking/removing sensitive data&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Dec 2021 12:05:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1868054#M1216417</guid>
      <dc:creator>NitinK7</dc:creator>
      <dc:date>2021-12-08T12:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1868081#M1216425</link>
      <description>&lt;P&gt;Hi Nitin,&lt;/P&gt;
&lt;P&gt;PFA,&lt;/P&gt;</description>
      <pubDate>Wed, 08 Dec 2021 13:04:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1868081#M1216425</guid>
      <dc:creator>sona_sa</dc:creator>
      <dc:date>2021-12-08T13:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1868093#M1216427</link>
      <description>&lt;P&gt;if you can see below screenshot there are multiple&amp;nbsp;&lt;/P&gt;
&lt;P&gt;RESIDENT INDIVIDUALS and&amp;nbsp;PUB then which specific record do you wnat to perform your minus operation&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NitinK7_0-1638969834076.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/68174i45F9839B7FFAB014/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NitinK7_0-1638969834076.png" alt="NitinK7_0-1638969834076.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Dec 2021 13:25:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1868093#M1216427</guid>
      <dc:creator>NitinK7</dc:creator>
      <dc:date>2021-12-08T13:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1868422#M1216447</link>
      <description>&lt;P&gt;Yes, I want the same.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 09 Dec 2021 06:06:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1868422#M1216447</guid>
      <dc:creator>sona_sa</dc:creator>
      <dc:date>2021-12-09T06:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1868452#M1216449</link>
      <description>&lt;P&gt;if you wnat the same ,then can you please let me know which output do you want&lt;/P&gt;
&lt;P&gt;based on your given &lt;STRONG&gt;STOCK.excel file&lt;/STRONG&gt;?&lt;/P&gt;
&lt;P&gt;when we write the below code&amp;nbsp;&lt;SPAN&gt;then getting only first record from the table.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Let v_Others=Peek('Cases',0,'Stock_Temp1');&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Dec 2021 08:16:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1868452#M1216449</guid>
      <dc:creator>NitinK7</dc:creator>
      <dc:date>2021-12-09T08:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1868509#M1216453</link>
      <description>&lt;P&gt;But I have to substract the numbers from Residents Individuals - PUB. That how I will do the same.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Dec 2021 10:03:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1868509#M1216453</guid>
      <dc:creator>sona_sa</dc:creator>
      <dc:date>2021-12-09T10:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1868552#M1216455</link>
      <description>&lt;P&gt;you are right,&lt;/P&gt;
&lt;P&gt;I just wnat to know what output /result do you want, because if you can see there are 2 different values/&lt;STRONG&gt;Cases&lt;/STRONG&gt; for&amp;nbsp;&lt;STRONG&gt;RESIDENT INDIVIDUALS &lt;/STRONG&gt;and there and multiple PUB with null values/&lt;STRONG&gt;Cases.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;so which one of the following is true&lt;/P&gt;
&lt;P&gt;1.&amp;nbsp; RESIDENT INDIVIDUALS (&lt;STRONG&gt;133526&lt;/STRONG&gt;)&amp;nbsp; &amp;nbsp;-&amp;nbsp; PUB (&lt;STRONG&gt;0&lt;/STRONG&gt; ) -------// case value define in bracket&lt;/P&gt;
&lt;P&gt;2.&amp;nbsp;&amp;nbsp;RESIDENT INDIVIDUALS (&lt;STRONG&gt;136056&lt;/STRONG&gt;)&amp;nbsp; &amp;nbsp;-&amp;nbsp; PUB (&lt;STRONG&gt;0&lt;/STRONG&gt; ) -------// case value define in bracket&lt;/P&gt;</description>
      <pubDate>Thu, 09 Dec 2021 10:50:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1868552#M1216455</guid>
      <dc:creator>NitinK7</dc:creator>
      <dc:date>2021-12-09T10:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1868566#M1216456</link>
      <description>&lt;P&gt;Hi Nitin,&lt;/P&gt;
&lt;P&gt;It is OK, we will see the data week wise, So there is no problem, If we do the same for first record of data, But I have to do substract from v_Others - v_PUB.&lt;/P&gt;
&lt;P&gt;I need output like - 136057 - 50 = 136007&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 09 Dec 2021 11:09:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1868566#M1216456</guid>
      <dc:creator>sona_sa</dc:creator>
      <dc:date>2021-12-09T11:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1868573#M1216458</link>
      <description>&lt;P&gt;I know -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But Instead of PUB(0), It should be PUB(50).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Because after this logic same logic I will use for next expression. for Shares. for amount.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":face_with_tears_of_joy:"&gt;😂&lt;/span&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Dec 2021 11:19:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/1868573#M1216458</guid>
      <dc:creator>sona_sa</dc:creator>
      <dc:date>2021-12-09T11:19:26Z</dc:date>
    </item>
  </channel>
</rss>

