<?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 Different from Total Count table, and Total count for row in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Different-from-Total-Count-table-and-Total-count-for-row/m-p/1611570#M507727</link>
    <description>&lt;P&gt;Hi, i have this problem my Total in my chart table on the top, is different from the total amouts in my rows... how can is possible?&lt;/P&gt;&lt;P&gt;if i put it on excel and i count the column it say me 626, but qlikview say me 625.&lt;/P&gt;&lt;P&gt;i attach the file, my set analisys in this colum is:&lt;/P&gt;&lt;P&gt;Count(DISTINCT {&amp;lt;DATA_IN={"&amp;lt;=$(=Date($(vFineMonthContrMaxMonth), 'DD/MM/YYYY'))"},DATA_OUT={"&amp;gt;$(=Date($(vFineMonthContrMaxMonth), 'DD/MM/YYYY'))"}&amp;gt;} COD_CLIENTE)&lt;/P&gt;&lt;P&gt;where the variable $(vFineMonthContrMaxMonth) is 31/07/2019&lt;/P&gt;&lt;P&gt;what is wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 12 Aug 2019 13:13:21 GMT</pubDate>
    <dc:creator>danosoft</dc:creator>
    <dc:date>2019-08-12T13:13:21Z</dc:date>
    <item>
      <title>Different from Total Count table, and Total count for row</title>
      <link>https://community.qlik.com/t5/QlikView/Different-from-Total-Count-table-and-Total-count-for-row/m-p/1611570#M507727</link>
      <description>&lt;P&gt;Hi, i have this problem my Total in my chart table on the top, is different from the total amouts in my rows... how can is possible?&lt;/P&gt;&lt;P&gt;if i put it on excel and i count the column it say me 626, but qlikview say me 625.&lt;/P&gt;&lt;P&gt;i attach the file, my set analisys in this colum is:&lt;/P&gt;&lt;P&gt;Count(DISTINCT {&amp;lt;DATA_IN={"&amp;lt;=$(=Date($(vFineMonthContrMaxMonth), 'DD/MM/YYYY'))"},DATA_OUT={"&amp;gt;$(=Date($(vFineMonthContrMaxMonth), 'DD/MM/YYYY'))"}&amp;gt;} COD_CLIENTE)&lt;/P&gt;&lt;P&gt;where the variable $(vFineMonthContrMaxMonth) is 31/07/2019&lt;/P&gt;&lt;P&gt;what is wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2019 13:13:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-from-Total-Count-table-and-Total-count-for-row/m-p/1611570#M507727</guid>
      <dc:creator>danosoft</dc:creator>
      <dc:date>2019-08-12T13:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: Different from Total Count table, and Total count for row</title>
      <link>https://community.qlik.com/t5/QlikView/Different-from-Total-Count-table-and-Total-count-for-row/m-p/1611580#M507728</link>
      <description>&lt;P&gt;Nothing is wrong. You count distinct customers. It seems you have customers that are counted in the numbers of more than one detail row of your table. They're unique per row, but not unique over all rows so summing the totals of the rows gives you a larger number than the unique number of customers overall.&lt;/P&gt;&lt;P&gt;If you want to sum the distinct counts of the rows then you should either do another level of aggregation or set the total mode of the chart expression to sum instead automatic.&lt;/P&gt;&lt;P&gt;The sum of counts can be calculated with something like sum(aggr( count(....etc) , dimA, DimB, ...etc )). Where dimA, DimB, ...etc&amp;nbsp; are the names of the fields you used a dimensions in your chart.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2019 13:30:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-from-Total-Count-table-and-Total-count-for-row/m-p/1611580#M507728</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2019-08-12T13:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: Different from Total Count table, and Total count for row</title>
      <link>https://community.qlik.com/t5/QlikView/Different-from-Total-Count-table-and-Total-count-for-row/m-p/1611591#M507729</link>
      <description>&lt;P&gt;Sorry but i not understand what you mean,can you do the example with my set analisys i sent, for count well?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2019 13:41:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-from-Total-Count-table-and-Total-count-for-row/m-p/1611591#M507729</guid>
      <dc:creator>danosoft</dc:creator>
      <dc:date>2019-08-12T13:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: Different from Total Count table, and Total count for row</title>
      <link>https://community.qlik.com/t5/QlikView/Different-from-Total-Count-table-and-Total-count-for-row/m-p/1611595#M507730</link>
      <description>&lt;P&gt;Sum(aggr(Count(DISTINCT {&amp;lt;DATA_IN={"&amp;lt;=$(=Date($(vFineMonthContrMaxMonth), 'DD/MM/YYYY'))"},DATA_OUT={"&amp;gt;$(=Date($(vFineMonthContrMaxMonth), 'DD/MM/YYYY'))"}&amp;gt;} COD_CLIENTE),dimA,DimB,...etc))&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2019 13:42:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-from-Total-Count-table-and-Total-count-for-row/m-p/1611595#M507730</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2019-08-12T13:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: Different from Total Count table, and Total count for row</title>
      <link>https://community.qlik.com/t5/QlikView/Different-from-Total-Count-table-and-Total-count-for-row/m-p/1611598#M507731</link>
      <description>&lt;P&gt;Thanks, but my dimension are not always the same, i use a Group cycle.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Before you wrote this too: "or set the total mode of the chart expression to sum instead automatic" how?&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2019 13:48:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-from-Total-Count-table-and-Total-count-for-row/m-p/1611598#M507731</guid>
      <dc:creator>danosoft</dc:creator>
      <dc:date>2019-08-12T13:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: Different from Total Count table, and Total count for row</title>
      <link>https://community.qlik.com/t5/QlikView/Different-from-Total-Count-table-and-Total-count-for-row/m-p/1611603#M507732</link>
      <description>&lt;P&gt;Open the Expressions tab of the properties window of the chart. Select your expression in the list and change the Total Mode from Expression Total to Sum (of Rows)&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2019 13:51:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-from-Total-Count-table-and-Total-count-for-row/m-p/1611603#M507732</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2019-08-12T13:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Different from Total Count table, and Total count for row</title>
      <link>https://community.qlik.com/t5/QlikView/Different-from-Total-Count-table-and-Total-count-for-row/m-p/1611608#M507733</link>
      <description>&lt;P&gt;And this it will do the aggregation in automatic?&lt;/P&gt;&lt;P&gt;Otherwise if i want to do with your set analisys you wrote, what i need to put in Dim1, Dim2... if i use ony a Dimension but it is a Cycle Group, so it can change ?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2019 13:55:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-from-Total-Count-table-and-Total-count-for-row/m-p/1611608#M507733</guid>
      <dc:creator>danosoft</dc:creator>
      <dc:date>2019-08-12T13:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: Different from Total Count table, and Total count for row</title>
      <link>https://community.qlik.com/t5/QlikView/Different-from-Total-Count-table-and-Total-count-for-row/m-p/1611642#M507734</link>
      <description>&lt;P&gt;Hi, sorry but i think is a problem in your solution, becouse look at this attachment: you see i have 2 different value in my 2 tables.&lt;/P&gt;&lt;P&gt;In the first i have 3.381.185 this is a chart table with this expression:&lt;/P&gt;&lt;P&gt;Sum(DISTINCT {&amp;lt;DATA_IN={"=Aggr(Max(DATA_IN), MESEIN, COD_PUNTO)"}&amp;gt;}if(Num(Interval(DATA_OUT-DATA_IN,'DD'))&amp;gt;2, CONSUMO_TOT_ANNUO))&lt;/P&gt;&lt;P&gt;and setting the total amount in the chart like you said. The dimensions are three&lt;/P&gt;&lt;P&gt;In the second tabe i have the same expression with the same total amout setting, but i obtain a different value: 3.357.609&lt;/P&gt;&lt;P&gt;in this second table i have a cycle group for dimensions&lt;/P&gt;&lt;P&gt;If i use the set analisys like you said, for example in this case in my second table :&lt;/P&gt;&lt;P&gt;Sum(aggr(Sum(DISTINCT {&amp;lt;DATA_IN={"=Aggr(Max(DATA_IN), MESEIN, COD_PUNTO)"}&amp;gt;}if(Num(Interval(DATA_OUT-DATA_IN,'DD'))&amp;gt;2, CONSUMO_TOT_ANNUO)),AGENTE)) i obtain another result, and if i put for dimension the other in the cycle group... i obtain another result......&lt;/P&gt;&lt;P&gt;So... what is the right way?&lt;/P&gt;&lt;P&gt;I need only to Sum a distinct of values.....&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2019 14:28:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-from-Total-Count-table-and-Total-count-for-row/m-p/1611642#M507734</guid>
      <dc:creator>danosoft</dc:creator>
      <dc:date>2019-08-12T14:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: Different from Total Count table, and Total count for row</title>
      <link>https://community.qlik.com/t5/QlikView/Different-from-Total-Count-table-and-Total-count-for-row/m-p/1617833#M507736</link>
      <description>&lt;P&gt;Daniele, what is most helpful in these situations is for you to attach the QVW file, as this lets folks see the data model as well as all the objects and expressions, so they can figure out exactly what you have done in relation to what you are trying to do.&amp;nbsp; Best recommendation I can give you if you are still looking for help.&amp;nbsp; If you have fields that you are worried about folks seeing values, use the Settings\Document Properties\Scrambling tab to scramble those field values of concern before attaching to the post.&amp;nbsp; A sample app with sample data showing things also works.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2019 18:12:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-from-Total-Count-table-and-Total-count-for-row/m-p/1617833#M507736</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-08-28T18:12:15Z</dc:date>
    </item>
  </channel>
</rss>

