<?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: Doubts about repeated rows in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Doubts-about-repeated-rows/m-p/704345#M1052499</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try like&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;"&gt;Field 3 = Sum(Distinct field 1 ) - Sum( &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Distinct &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;field 2 )&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Oct 2014 19:26:22 GMT</pubDate>
    <dc:creator>its_anandrjs</dc:creator>
    <dc:date>2014-10-27T19:26:22Z</dc:date>
    <item>
      <title>Doubts about repeated rows</title>
      <link>https://community.qlik.com/t5/QlikView/Doubts-about-repeated-rows/m-p/704340#M1052491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody. I have repeated values in a table, and i have problems showing them. My english leaves a lot to be desired, i´ll put an example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field 1 = 2070&lt;/P&gt;&lt;P&gt;Field 2 = 1&lt;/P&gt;&lt;P&gt;Field 3 = sum(field 1 - field 2)= 6207&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok.. i guess the row is repeated 3 times and i have 2070 x 3 and 1 x 3 but i can´t see the values and if the user sees this it seems like an error. What i have to do to see the field 1 as 6210 and the field 2 as 3 ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2014 19:03:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubts-about-repeated-rows/m-p/704340#M1052491</guid>
      <dc:creator />
      <dc:date>2014-10-27T19:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: Doubts about repeated rows</title>
      <link>https://community.qlik.com/t5/QlikView/Doubts-about-repeated-rows/m-p/704341#M1052492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your expression formula,&amp;nbsp; are you using 'sum(Field1)'&amp;nbsp;&amp;nbsp; ?&amp;nbsp;&amp;nbsp; Or just 'Field1' ? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2014 19:11:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubts-about-repeated-rows/m-p/704341#M1052492</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-10-27T19:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: Doubts about repeated rows</title>
      <link>https://community.qlik.com/t5/QlikView/Doubts-about-repeated-rows/m-p/704342#M1052493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suggest use Distinct for this this will take only 2070 and 1 then write like&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;"&gt;Field 3 = Sum(Distinct field 1 ) - Sum( &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Distinct &lt;/SPAN&gt; field 2 ) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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;"&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;"&gt;Regard&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Anand&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;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2014 19:12:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubts-about-repeated-rows/m-p/704342#M1052493</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-10-27T19:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: Doubts about repeated rows</title>
      <link>https://community.qlik.com/t5/QlikView/Doubts-about-repeated-rows/m-p/704343#M1052495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Í´ve just edited my post. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expressions are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Field 1 = 2070&lt;/P&gt;&lt;P style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Field 2 = 1&lt;/P&gt;&lt;P style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Field 3 = sum(field 1 - field 2)= 6207&lt;/P&gt;&lt;P style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sory for this.&lt;/P&gt;&lt;P style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Is clear now? The F1 and F2 dont have sum. I tried but it doesn´t works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2014 19:15:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubts-about-repeated-rows/m-p/704343#M1052495</guid>
      <dc:creator />
      <dc:date>2014-10-27T19:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: Doubts about repeated rows</title>
      <link>https://community.qlik.com/t5/QlikView/Doubts-about-repeated-rows/m-p/704344#M1052497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.6000003814697px;"&gt;Í´ve just edited my post. &lt;/P&gt;&lt;P style="font-size: 13.6000003814697px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.6000003814697px;"&gt;The expressions are:&lt;/P&gt;&lt;P style="font-size: 13.6000003814697px;"&gt;&lt;/P&gt;&lt;P style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Field 1 = 2070&lt;/P&gt;&lt;P style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Field 2 = 1&lt;/P&gt;&lt;P style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Field 3 = sum(field 1 - field 2)= 6207&lt;/P&gt;&lt;P style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sory for this.&lt;/P&gt;&lt;P style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Can you read again? Sory!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2014 19:16:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubts-about-repeated-rows/m-p/704344#M1052497</guid>
      <dc:creator />
      <dc:date>2014-10-27T19:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: Doubts about repeated rows</title>
      <link>https://community.qlik.com/t5/QlikView/Doubts-about-repeated-rows/m-p/704345#M1052499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try like&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;"&gt;Field 3 = Sum(Distinct field 1 ) - Sum( &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Distinct &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;field 2 )&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2014 19:26:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubts-about-repeated-rows/m-p/704345#M1052499</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-10-27T19:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: Doubts about repeated rows</title>
      <link>https://community.qlik.com/t5/QlikView/Doubts-about-repeated-rows/m-p/704346#M1052500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yeah, and it´s works .I mean it changes the field 3, but isnt that incorrect? 6207 is the real value, isnt the problem with the values of fields 1 and 2 ?&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;PD: Please tell me if my english isn´t clear and i´ll try to explain it better.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2014 19:34:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubts-about-repeated-rows/m-p/704346#M1052500</guid>
      <dc:creator />
      <dc:date>2014-10-27T19:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: Doubts about repeated rows</title>
      <link>https://community.qlik.com/t5/QlikView/Doubts-about-repeated-rows/m-p/704347#M1052502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There a multiple ways to do this calculation depending on what you want to do .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The below example shows 2 sales for the same customer, notice how depending on the expression, you either do the subtraction at the details and sum the results OR you sum the details and subtract the totals. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you remove the 2nd dimension you can see the results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So multiple answers depending how you want the calculations to work...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="69799" alt="Capture.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/69799_Capture.PNG.png" style="width: 620px; height: 141px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2014 19:44:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubts-about-repeated-rows/m-p/704347#M1052502</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-10-27T19:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: Doubts about repeated rows</title>
      <link>https://community.qlik.com/t5/QlikView/Doubts-about-repeated-rows/m-p/704348#M1052504</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 style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Field 1 = &lt;STRONG&gt;&lt;EM&gt;sum(2070)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Field 2 = &lt;STRONG&gt;&lt;EM&gt;sum(1)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Field 3 = sum(field 1 - field 2)= 6207&lt;/P&gt;&lt;P style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Since this may be an entirely different issue (data model, naming, etc), if you can attach a sample qvw that would be great.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2014 19:51:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubts-about-repeated-rows/m-p/704348#M1052504</guid>
      <dc:creator />
      <dc:date>2014-10-27T19:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: Doubts about repeated rows</title>
      <link>https://community.qlik.com/t5/QlikView/Doubts-about-repeated-rows/m-p/704349#M1052505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok im a bit confused now haha. &lt;/P&gt;&lt;P&gt;Look, my field 3 is ok. I´d like to see the field 1 and 2 in the correct way to see for example 6207 // 3 // 6210.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Greetings.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2014 19:52:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubts-about-repeated-rows/m-p/704349#M1052505</guid>
      <dc:creator />
      <dc:date>2014-10-27T19:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: Doubts about repeated rows</title>
      <link>https://community.qlik.com/t5/QlikView/Doubts-about-repeated-rows/m-p/704350#M1052507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Field 1:&amp;nbsp;&amp;nbsp; sum(2000)&lt;/P&gt;&lt;P&gt;Field 2:&amp;nbsp; sum(1)&lt;/P&gt;&lt;P&gt;Field 3:&amp;nbsp; sum( 1999)&amp;nbsp;&amp;nbsp;&amp;nbsp; or&amp;nbsp; sum (2000 - 1) or&amp;nbsp; sum (2000) - sum(1)&amp;nbsp; ...&amp;nbsp; your choice &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2014 19:57:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubts-about-repeated-rows/m-p/704350#M1052507</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-10-27T19:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: Doubts about repeated rows</title>
      <link>https://community.qlik.com/t5/QlikView/Doubts-about-repeated-rows/m-p/704351#M1052508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok the mistake was THE SUM(1 - 2 )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i´ve put the fields like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM(FIELD1)&lt;/P&gt;&lt;P&gt;SUM(FIELD2)&lt;/P&gt;&lt;P&gt;and SUM(FIELD 1) - SUM(FIELD2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2014 20:09:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubts-about-repeated-rows/m-p/704351#M1052508</guid>
      <dc:creator />
      <dc:date>2014-10-27T20:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: Doubts about repeated rows</title>
      <link>https://community.qlik.com/t5/QlikView/Doubts-about-repeated-rows/m-p/704352#M1052510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad it worked .&amp;nbsp; Any followup questions ?&amp;nbsp; Just ask or please close out the thread. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2014 20:26:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubts-about-repeated-rows/m-p/704352#M1052510</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-10-27T20:26:55Z</dc:date>
    </item>
  </channel>
</rss>

