<?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: Doubled value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Doubled-value/m-p/102881#M751828</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's true, the staright table doesn't contain expressions. I am displaying the same dimensions in both tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I change the expression, in the pivot table to the dimension STOCK, I get good results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to mention the error isn't with one expression only (too many expressions show the same error).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Nov 2018 10:40:06 GMT</pubDate>
    <dc:creator>absekrafi</dc:creator>
    <dc:date>2018-11-05T10:40:06Z</dc:date>
    <item>
      <title>Doubled value</title>
      <link>https://community.qlik.com/t5/QlikView/Doubled-value/m-p/102876#M751823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Community members,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the exression bellow for "Quantity in Stock" in a pivot table :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (('$(vStartDate)' &amp;lt;= '$(vEndDate)'),sum({&amp;lt;TRANSACTION_DATE= {'$(vStartDate)'}&amp;gt;}STOCK),0).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting a value doubled for 1 product.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I added a "table zone" to the sheet project, I got the correct value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not understanding where is the mistake.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any idea where the problem is?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;&lt;P&gt;Abdallah&lt;/P&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/Doubled-value/m-p/102876#M751823</guid>
      <dc:creator>absekrafi</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Doubled value</title>
      <link>https://community.qlik.com/t5/QlikView/Doubled-value/m-p/102877#M751824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abdallah,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just check if the variables are set properly, it might be the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2018 15:02:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubled-value/m-p/102877#M751824</guid>
      <dc:creator>jobsonkjoseph</dc:creator>
      <dc:date>2018-11-02T15:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: Doubled value</title>
      <link>https://community.qlik.com/t5/QlikView/Doubled-value/m-p/102878#M751825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abdallah,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That expression seems legit.&lt;/P&gt;&lt;P&gt;May I know what is "Table zone" here?&lt;/P&gt;&lt;P&gt;and it'd be great if you post with a sample file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2018 15:02:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubled-value/m-p/102878#M751825</guid>
      <dc:creator>achettipalli</dc:creator>
      <dc:date>2018-11-02T15:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: Doubled value</title>
      <link>https://community.qlik.com/t5/QlikView/Doubled-value/m-p/102879#M751826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Avinash, Hi Jobson,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Table zone" means "table area" when you right ckick to add a new object to the current sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the sample file, I have too many QVD files. So I think it will not be easy to enclose them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will check the the variables : vStartDate and vEndDate as highlighted by Jobson.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will let you know,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Abdallah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2018 15:20:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubled-value/m-p/102879#M751826</guid>
      <dc:creator>absekrafi</dc:creator>
      <dc:date>2018-11-02T15:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: Doubled value</title>
      <link>https://community.qlik.com/t5/QlikView/Doubled-value/m-p/102880#M751827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alright!. &lt;SPAN style="font-size: 10pt;"&gt;I'm not sure if you're comparing with straight table vs pivot table results and how many dimensions &lt;/SPAN&gt;you're&lt;SPAN style="font-size: 10pt;"&gt; dealing with. And &lt;/SPAN&gt;sometimes&lt;SPAN style="font-size: 10pt;"&gt; our expected results would &lt;/SPAN&gt;contradict&lt;SPAN style="font-size: 10pt;"&gt; with table row &lt;/SPAN&gt;properties&lt;SPAN style="font-size: 10pt;"&gt; itself.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Good luck&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;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Avinash&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2018 19:24:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubled-value/m-p/102880#M751827</guid>
      <dc:creator>achettipalli</dc:creator>
      <dc:date>2018-11-02T19:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: Doubled value</title>
      <link>https://community.qlik.com/t5/QlikView/Doubled-value/m-p/102881#M751828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's true, the staright table doesn't contain expressions. I am displaying the same dimensions in both tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I change the expression, in the pivot table to the dimension STOCK, I get good results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to mention the error isn't with one expression only (too many expressions show the same error).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2018 10:40:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubled-value/m-p/102881#M751828</guid>
      <dc:creator>absekrafi</dc:creator>
      <dc:date>2018-11-05T10:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: Doubled value</title>
      <link>https://community.qlik.com/t5/QlikView/Doubled-value/m-p/102882#M751829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The variables are OK. I have 2 variables only, vStartDate and vEndDate only. I am still in the case where, vStartDate = vEndDate.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2018 10:42:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubled-value/m-p/102882#M751829</guid>
      <dc:creator>absekrafi</dc:creator>
      <dc:date>2018-11-05T10:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: Doubled value</title>
      <link>https://community.qlik.com/t5/QlikView/Doubled-value/m-p/102883#M751830</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;Sum(If(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;$(vStartDate) &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;lt;= $(vEndDate) and&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;TRANSACTION_DATE=&amp;nbsp; $(vStartDate)&amp;nbsp; ,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;STOCK&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raman &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2018 10:56:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubled-value/m-p/102883#M751830</guid>
      <dc:creator>raman_rastogi</dc:creator>
      <dc:date>2018-11-05T10:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: Doubled value</title>
      <link>https://community.qlik.com/t5/QlikView/Doubled-value/m-p/102884#M751831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raman,&lt;/P&gt;&lt;P&gt;The expression bellow is working but the sub-totals aren't.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if('$(vStartDate)' &amp;lt;= '$(vEndDate)'&amp;nbsp; and TRANSACTION_DATE=&amp;nbsp; '$(vStartDate)'&amp;nbsp; , STOCK, 0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to let you know that the cause of the error is the &lt;STRONG&gt;Sum(). &lt;/STRONG&gt;but I don't know why.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Abdallah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2018 12:58:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubled-value/m-p/102884#M751831</guid>
      <dc:creator>absekrafi</dc:creator>
      <dc:date>2018-11-05T12:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: Doubled value</title>
      <link>https://community.qlik.com/t5/QlikView/Doubled-value/m-p/102885#M751832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As I mentioned, with a sample Dataset/Qvw file would help us to understand the problem better.&lt;/P&gt;&lt;P&gt;However, different workarounds,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Could be with check/uncheck options from &lt;STRONG&gt;Presentation&lt;/STRONG&gt; tab like suppress null values etc..&lt;/P&gt;&lt;P&gt;2. can try AGGR(sum(), dimesion)&lt;/P&gt;&lt;P&gt;3. Unit testing with a table row results while having date and other dimensions as filters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck &lt;/P&gt;&lt;P&gt;Avinash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2018 13:21:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubled-value/m-p/102885#M751832</guid>
      <dc:creator>achettipalli</dc:creator>
      <dc:date>2018-11-05T13:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: Doubled value</title>
      <link>https://community.qlik.com/t5/QlikView/Doubled-value/m-p/102886#M751833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abdallah&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be lke 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;Sum(Aggr(sum(if('$(vStartDate)' &amp;lt;= '$(vEndDate)'&amp;nbsp; and TRANSACTION_DATE=&amp;nbsp; '$(vStartDate)'&amp;nbsp; , STOCK, 0)),Dim1,Dim2))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what are you getting in your subtotal? Is it wrong value or Null . Can you share&amp;nbsp; sample data with expected output .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2018 13:31:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubled-value/m-p/102886#M751833</guid>
      <dc:creator>raman_rastogi</dc:creator>
      <dc:date>2018-11-05T13:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Doubled value</title>
      <link>https://community.qlik.com/t5/QlikView/Doubled-value/m-p/102887#M751834</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;I tried this : &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if (('$(vStartDate)' &amp;lt;= '$(vEndDate)') and {&amp;lt;TRANSACTION_DATE= {'$(vStartDate)'}&amp;gt;}, rangesum(STOCK),0).&lt;/SPAN&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;BR /&gt;&lt;/SPAN&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;The data are correct but the sub-totals aren't when there is data in more than 1 factory (Usine in the image).&lt;/SPAN&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;BR /&gt;&lt;/SPAN&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;Thank you,&lt;/SPAN&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;Abdallah&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2018 14:41:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubled-value/m-p/102887#M751834</guid>
      <dc:creator>absekrafi</dc:creator>
      <dc:date>2018-11-05T14:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: Doubled value</title>
      <link>https://community.qlik.com/t5/QlikView/Doubled-value/m-p/102888#M751835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I use &lt;STRONG&gt;rangesum&lt;/STRONG&gt; the data is correct but &lt;STRONG&gt;No sub-totals&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I use &lt;STRONG&gt;Sum&lt;/STRONG&gt;, &lt;STRONG&gt;data is wrong&lt;/STRONG&gt;, and there are sub-totals.&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;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;rangesum(&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if (('$(vStartDate)' &amp;lt;= '$(vEndDate)') and {&amp;lt;TRANSACTION_DATE= {'$(vStartDate)'}&amp;gt;}, STOCK,0) )&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2018 15:03:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubled-value/m-p/102888#M751835</guid>
      <dc:creator>absekrafi</dc:creator>
      <dc:date>2018-11-05T15:03:27Z</dc:date>
    </item>
  </channel>
</rss>

