<?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 2 bar chart having same expression but different dimension different results in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/2-bar-chart-having-same-expression-but-different-dimension/m-p/70872#M4701</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Bar Chart 1: &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dimension : Region&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;measure&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (sum([Quantity]) &amp;lt;&amp;gt; 0,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (Sum([DailyQuantitySales]) &amp;lt;&amp;gt; 0, &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;sum({&amp;lt;[Region] ={"=Sum([margin])&amp;gt;=0"} &amp;gt;}[DailySales]) - &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;sum({&amp;lt;[Region] ={"=Sum([margin])&amp;gt;=0"} &amp;gt;}[DailyVarSales]),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[Region] ={"=Sum([margin])&amp;gt;=0"} &amp;gt;}[DailySales])&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Bar Chart 2:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dimention : Country&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (sum([Quantity]) &amp;lt;&amp;gt; 0,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (Sum([DailyQuantitySales]) &amp;lt;&amp;gt; 0, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[Country] ={"=Sum([margin])&amp;gt;=0"} &amp;gt;}[DailySales]) -s&lt;SPAN style="font-size: 10pt;"&gt;um({&amp;lt;[Country] ={"=Sum([margin])&amp;gt;=0"} &amp;gt;}[DailyVarSales]),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[Country] ={"=Sum([margin])&amp;gt;=0"} &amp;gt;}[DailySales])&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both are giving different total . What could be the reason ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Mar 2018 07:40:44 GMT</pubDate>
    <dc:creator>prashantsanchet</dc:creator>
    <dc:date>2018-03-08T07:40:44Z</dc:date>
    <item>
      <title>2 bar chart having same expression but different dimension different results</title>
      <link>https://community.qlik.com/t5/App-Development/2-bar-chart-having-same-expression-but-different-dimension/m-p/70872#M4701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Bar Chart 1: &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dimension : Region&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;measure&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (sum([Quantity]) &amp;lt;&amp;gt; 0,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (Sum([DailyQuantitySales]) &amp;lt;&amp;gt; 0, &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;sum({&amp;lt;[Region] ={"=Sum([margin])&amp;gt;=0"} &amp;gt;}[DailySales]) - &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;sum({&amp;lt;[Region] ={"=Sum([margin])&amp;gt;=0"} &amp;gt;}[DailyVarSales]),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[Region] ={"=Sum([margin])&amp;gt;=0"} &amp;gt;}[DailySales])&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Bar Chart 2:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dimention : Country&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (sum([Quantity]) &amp;lt;&amp;gt; 0,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (Sum([DailyQuantitySales]) &amp;lt;&amp;gt; 0, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[Country] ={"=Sum([margin])&amp;gt;=0"} &amp;gt;}[DailySales]) -s&lt;SPAN style="font-size: 10pt;"&gt;um({&amp;lt;[Country] ={"=Sum([margin])&amp;gt;=0"} &amp;gt;}[DailyVarSales]),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[Country] ={"=Sum([margin])&amp;gt;=0"} &amp;gt;}[DailySales])&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both are giving different total . What could be the reason ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 07:40:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/2-bar-chart-having-same-expression-but-different-dimension/m-p/70872#M4701</guid>
      <dc:creator>prashantsanchet</dc:creator>
      <dc:date>2018-03-08T07:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: 2 bar chart having same expression but different dimension different results</title>
      <link>https://community.qlik.com/t5/App-Development/2-bar-chart-having-same-expression-but-different-dimension/m-p/70873#M4702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you create a sample application and share it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 08:54:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/2-bar-chart-having-same-expression-but-different-dimension/m-p/70873#M4702</guid>
      <dc:creator>shraddha_g</dc:creator>
      <dc:date>2018-03-08T08:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: 2 bar chart having same expression but different dimension different results</title>
      <link>https://community.qlik.com/t5/App-Development/2-bar-chart-having-same-expression-but-different-dimension/m-p/70874#M4703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Aren't you making 2 totally different calculations, as one is looking at Country = and Region =? Maybe you need some identifiers to user alle data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense/September2017/Subsystems/Hub/Content/ChartFunctions/SetAnalysis/set-analysis-expressions.htm" style="font-size: 10pt;" title="https://help.qlik.com/en-US/sense/September2017/Subsystems/Hub/Content/ChartFunctions/SetAnalysis/set-analysis-expressions.htm"&gt;https://help.qlik.com/en-US/sense/September2017/Subsystems/Hub/Content/ChartFunctions/SetAnalysis/set-analysis-expressio…&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A simple app or data-set would make it easier to solve.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 13:57:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/2-bar-chart-having-same-expression-but-different-dimension/m-p/70874#M4703</guid>
      <dc:creator>hacr</dc:creator>
      <dc:date>2018-03-08T13:57:30Z</dc:date>
    </item>
  </channel>
</rss>

