<?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 Sum in straight table is not matching with data in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Sum-in-straight-table-is-not-matching-with-data/m-p/1693196#M53003</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;While i'm developing a straight table, I found out that the Sum that is being displayed is quite different from the actual data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some more information:&lt;/P&gt;&lt;P&gt;Dimension:&lt;/P&gt;&lt;P&gt;- Synthetic Dimension: Valuelist('ExampleA')&lt;/P&gt;&lt;P&gt;- Month Year (MMMYYYY)&lt;/P&gt;&lt;P&gt;Measure:&amp;nbsp;&lt;/P&gt;&lt;P&gt;- if(Valuelist('ExampleA') = 'ExampleA', Sum({&amp;lt; [Year]={"$(=Max(Year))"}, [SearchString]={"*String1*"} &amp;gt;}[Interactions]))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Imagine, the straight table give me 103 for January. However, if i create a pivot table with all those dimensions (Country, SearchString Month Year) and Export it to a excel, the total is still the same as the Sum(103), but the sum of all the values in the rows for January give me 475.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this a aggr problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any tip would be highly apreciated!&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 02:41:41 GMT</pubDate>
    <dc:creator>50ShadesOfSalty</dc:creator>
    <dc:date>2024-11-16T02:41:41Z</dc:date>
    <item>
      <title>Sum in straight table is not matching with data</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-in-straight-table-is-not-matching-with-data/m-p/1693196#M53003</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;While i'm developing a straight table, I found out that the Sum that is being displayed is quite different from the actual data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some more information:&lt;/P&gt;&lt;P&gt;Dimension:&lt;/P&gt;&lt;P&gt;- Synthetic Dimension: Valuelist('ExampleA')&lt;/P&gt;&lt;P&gt;- Month Year (MMMYYYY)&lt;/P&gt;&lt;P&gt;Measure:&amp;nbsp;&lt;/P&gt;&lt;P&gt;- if(Valuelist('ExampleA') = 'ExampleA', Sum({&amp;lt; [Year]={"$(=Max(Year))"}, [SearchString]={"*String1*"} &amp;gt;}[Interactions]))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Imagine, the straight table give me 103 for January. However, if i create a pivot table with all those dimensions (Country, SearchString Month Year) and Export it to a excel, the total is still the same as the Sum(103), but the sum of all the values in the rows for January give me 475.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this a aggr problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any tip would be highly apreciated!&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:41:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-in-straight-table-is-not-matching-with-data/m-p/1693196#M53003</guid>
      <dc:creator>50ShadesOfSalty</dc:creator>
      <dc:date>2024-11-16T02:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: Sum in straight table is not matching with data</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-in-straight-table-is-not-matching-with-data/m-p/1693337#M53018</link>
      <description>&lt;P&gt;Can anyone help me here?&amp;nbsp;&lt;/P&gt;&lt;P&gt;If more information is needed, please let me know!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2020 14:59:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-in-straight-table-is-not-matching-with-data/m-p/1693337#M53018</guid>
      <dc:creator>50ShadesOfSalty</dc:creator>
      <dc:date>2020-04-14T14:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: Sum in straight table is not matching with data</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-in-straight-table-is-not-matching-with-data/m-p/1693371#M53020</link>
      <description>&lt;P&gt;can you post a sample dashboard? It would be easier to help you&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2020 15:22:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-in-straight-table-is-not-matching-with-data/m-p/1693371#M53020</guid>
      <dc:creator>lorenzoconforti</dc:creator>
      <dc:date>2020-04-14T15:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: Sum in straight table is not matching with data</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-in-straight-table-is-not-matching-with-data/m-p/1693381#M53026</link>
      <description>&lt;P&gt;Hi Lorenzo,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, I cannot provide a data sample, as long as i'm working on PRD Data...&lt;/P&gt;&lt;P&gt;Perhaps, a print screen of the KPI with the value and a sample of the csv data is enough?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2020 15:59:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-in-straight-table-is-not-matching-with-data/m-p/1693381#M53026</guid>
      <dc:creator>50ShadesOfSalty</dc:creator>
      <dc:date>2020-04-14T15:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: Sum in straight table is not matching with data</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-in-straight-table-is-not-matching-with-data/m-p/1693388#M53027</link>
      <description>&lt;P&gt;ok, let's start with that&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2020 16:08:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-in-straight-table-is-not-matching-with-data/m-p/1693388#M53027</guid>
      <dc:creator>lorenzoconforti</dc:creator>
      <dc:date>2020-04-14T16:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sum in straight table is not matching with data</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-in-straight-table-is-not-matching-with-data/m-p/1693395#M53029</link>
      <description>&lt;P&gt;Here you go!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Print Screen: Values showed in the dashboard&lt;/P&gt;&lt;P&gt;-Excel file: Exported data from the dashboard&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if this suits you or not!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2020 16:59:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-in-straight-table-is-not-matching-with-data/m-p/1693395#M53029</guid>
      <dc:creator>50ShadesOfSalty</dc:creator>
      <dc:date>2020-04-14T16:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: Sum in straight table is not matching with data</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-in-straight-table-is-not-matching-with-data/m-p/1693398#M53030</link>
      <description>&lt;P&gt;What measure are you using in the pivot? Also, can you post a screenshot of the straight table as well?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2020 17:04:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-in-straight-table-is-not-matching-with-data/m-p/1693398#M53030</guid>
      <dc:creator>lorenzoconforti</dc:creator>
      <dc:date>2020-04-14T17:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: Sum in straight table is not matching with data</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-in-straight-table-is-not-matching-with-data/m-p/1693573#M53048</link>
      <description>&lt;P&gt;The Measure is pretty much the same:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Measure:&amp;nbsp;&lt;/P&gt;&lt;P&gt;- if(Valuelist('ExampleA') = 'ExampleA', Sum({&amp;lt; [Year]={"$(=Max(Year))"}, [SearchString]={"*String1*"} &amp;gt;}[Interactions]))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2020 08:20:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-in-straight-table-is-not-matching-with-data/m-p/1693573#M53048</guid>
      <dc:creator>50ShadesOfSalty</dc:creator>
      <dc:date>2020-04-15T08:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: Sum in straight table is not matching with data</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-in-straight-table-is-not-matching-with-data/m-p/1693575#M53049</link>
      <description>&lt;P&gt;can you check two things:&lt;/P&gt;&lt;P&gt;- if you remove set analysis, do totals match?&amp;nbsp;&lt;/P&gt;&lt;P&gt;if(Valuelist('ExampleA') = 'ExampleA', Sum([Interactions]))&lt;/P&gt;&lt;P&gt;- if you remove valuelist, do totals match?&lt;/P&gt;&lt;P&gt;&amp;nbsp;Sum({&amp;lt; [Year]={"$(=Max(Year))"}, [SearchString]={"*String1*"} &amp;gt;}[Interactions])&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2020 08:25:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-in-straight-table-is-not-matching-with-data/m-p/1693575#M53049</guid>
      <dc:creator>lorenzoconforti</dc:creator>
      <dc:date>2020-04-15T08:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: Sum in straight table is not matching with data</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-in-straight-table-is-not-matching-with-data/m-p/1693610#M53052</link>
      <description>&lt;P&gt;Tried both approaches: None of them made the values to change/match.&lt;/P&gt;&lt;P&gt;(On the approach to remove the set analysis, i've made the selections by 'hand', also)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2020 09:56:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-in-straight-table-is-not-matching-with-data/m-p/1693610#M53052</guid>
      <dc:creator>50ShadesOfSalty</dc:creator>
      <dc:date>2020-04-15T09:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: Sum in straight table is not matching with data</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-in-straight-table-is-not-matching-with-data/m-p/1693685#M53062</link>
      <description>&lt;P&gt;It might be an aggregation problem; try this:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;sum(aggr( Sum({&amp;lt; [Year]={"$(=Max(Year))"}, [SearchString]={"*String1*"} &amp;gt;}[Interactions]), Country,&amp;nbsp;SearchString, MonthYear))&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2020 13:28:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-in-straight-table-is-not-matching-with-data/m-p/1693685#M53062</guid>
      <dc:creator>lorenzoconforti</dc:creator>
      <dc:date>2020-04-15T13:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: Sum in straight table is not matching with data</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-in-straight-table-is-not-matching-with-data/m-p/1695538#M53184</link>
      <description>&lt;P&gt;It is the correct answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, let me just add that there is currently a issue when we try tu work with AGGR and Synthetic Dimensions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 07:35:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-in-straight-table-is-not-matching-with-data/m-p/1695538#M53184</guid>
      <dc:creator>50ShadesOfSalty</dc:creator>
      <dc:date>2020-04-22T07:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: Sum in straight table is not matching with data</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-in-straight-table-is-not-matching-with-data/m-p/1695546#M53185</link>
      <description>&lt;P&gt;I don't think there is. You need to keep in mind that, when calculating totals, the engine needs to work through a data table made of dimensions and measures. If those dimensions do not exist in your data (because you are using a synthetic dimension) then you'll need a way to re-creating that data structure for the engine to work as expected&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 07:46:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-in-straight-table-is-not-matching-with-data/m-p/1695546#M53185</guid>
      <dc:creator>lorenzoconforti</dc:creator>
      <dc:date>2020-04-22T07:46:25Z</dc:date>
    </item>
  </channel>
</rss>

