<?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 Bar Chart Total Automatic to SUM in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Bar-Chart-Total-Automatic-to-SUM/m-p/2075364#M88207</link>
    <description>&lt;P&gt;Have you seen that in a table chart, the default&amp;nbsp; Total Function of a measure&amp;nbsp; is 'Automatic' and you can change it to another function? Like Sum, Count, Avg, etc.&lt;/P&gt;
&lt;P&gt;I have a bar chart that shows the total bar, calculated with the 'Automatic' function (I know because I have a table chart with the same expression that shows the same number in automatic), and I need it to show the total in SUM function, which is not an option for the bar chart. Does anyone know a way to do this?&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;IF(&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; ISNULL(GETFIELDSELECTIONS(Fecha)) AND&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ISNULL(GETFIELDSELECTIONS("Mes Año")) AND&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ISNULL(GETFIELDSELECTIONS(Mes)) AND&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ISNULL(GETFIELDSELECTIONS(Año))&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; IF(&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Sum({&amp;lt;"Mes Año" = {'$(=v_MaximoMesCerrado)'},Tiempo={"*"}&amp;gt;}[Tiempo]) - SUM({&amp;lt;"Mes Año" = {'$(=v_MaximoMesCerrado)'},"Tiempo Teorico"={"*"}&amp;gt;}"Tiempo Teorico") &amp;gt; 0&amp;nbsp;,&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Sum({&amp;lt;"Mes Año" = {'$(=v_MaximoMesCerrado)'},Tiempo={"*"}&amp;gt;}[Tiempo]) - SUM({&amp;lt;"Mes Año" = {'$(=v_MaximoMesCerrado)'},"Tiempo Teorico"={"*"}&amp;gt;}"Tiempo Teorico")&amp;nbsp;, 0)&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; IF(&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Sum({&amp;lt;Tiempo={"*"}&amp;gt;}[Tiempo]) - SUM({&amp;lt;"Tiempo Teorico"={"*"}&amp;gt;}"Tiempo Teorico") &amp;gt; 0&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Sum({&amp;lt;Tiempo={"*"}&amp;gt;}[Tiempo])- Sum({&amp;lt;"Tiempo Teorico"={"*"}&amp;gt;}"Tiempo Teorico"), 0)&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; )&lt;/DIV&gt;</description>
    <pubDate>Wed, 24 May 2023 18:58:44 GMT</pubDate>
    <dc:creator>jyanik</dc:creator>
    <dc:date>2023-05-24T18:58:44Z</dc:date>
    <item>
      <title>Bar Chart Total Automatic to SUM</title>
      <link>https://community.qlik.com/t5/App-Development/Bar-Chart-Total-Automatic-to-SUM/m-p/2075364#M88207</link>
      <description>&lt;P&gt;Have you seen that in a table chart, the default&amp;nbsp; Total Function of a measure&amp;nbsp; is 'Automatic' and you can change it to another function? Like Sum, Count, Avg, etc.&lt;/P&gt;
&lt;P&gt;I have a bar chart that shows the total bar, calculated with the 'Automatic' function (I know because I have a table chart with the same expression that shows the same number in automatic), and I need it to show the total in SUM function, which is not an option for the bar chart. Does anyone know a way to do this?&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;IF(&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; ISNULL(GETFIELDSELECTIONS(Fecha)) AND&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ISNULL(GETFIELDSELECTIONS("Mes Año")) AND&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ISNULL(GETFIELDSELECTIONS(Mes)) AND&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ISNULL(GETFIELDSELECTIONS(Año))&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; IF(&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Sum({&amp;lt;"Mes Año" = {'$(=v_MaximoMesCerrado)'},Tiempo={"*"}&amp;gt;}[Tiempo]) - SUM({&amp;lt;"Mes Año" = {'$(=v_MaximoMesCerrado)'},"Tiempo Teorico"={"*"}&amp;gt;}"Tiempo Teorico") &amp;gt; 0&amp;nbsp;,&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Sum({&amp;lt;"Mes Año" = {'$(=v_MaximoMesCerrado)'},Tiempo={"*"}&amp;gt;}[Tiempo]) - SUM({&amp;lt;"Mes Año" = {'$(=v_MaximoMesCerrado)'},"Tiempo Teorico"={"*"}&amp;gt;}"Tiempo Teorico")&amp;nbsp;, 0)&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; IF(&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Sum({&amp;lt;Tiempo={"*"}&amp;gt;}[Tiempo]) - SUM({&amp;lt;"Tiempo Teorico"={"*"}&amp;gt;}"Tiempo Teorico") &amp;gt; 0&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Sum({&amp;lt;Tiempo={"*"}&amp;gt;}[Tiempo])- Sum({&amp;lt;"Tiempo Teorico"={"*"}&amp;gt;}"Tiempo Teorico"), 0)&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; )&lt;/DIV&gt;</description>
      <pubDate>Wed, 24 May 2023 18:58:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bar-Chart-Total-Automatic-to-SUM/m-p/2075364#M88207</guid>
      <dc:creator>jyanik</dc:creator>
      <dc:date>2023-05-24T18:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart Total Automatic to SUM</title>
      <link>https://community.qlik.com/t5/App-Development/Bar-Chart-Total-Automatic-to-SUM/m-p/2075759#M88212</link>
      <description>&lt;P&gt;You may want to try by embedding your expression like below but not sure as I don't know much about your data model&amp;nbsp; -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sum(Aggr(&amp;lt;Your expression&amp;gt;,&amp;lt;Chart dimension&amp;gt;))&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 00:55:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bar-Chart-Total-Automatic-to-SUM/m-p/2075759#M88212</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2023-05-25T00:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart Total Automatic to SUM</title>
      <link>https://community.qlik.com/t5/App-Development/Bar-Chart-Total-Automatic-to-SUM/m-p/2077765#M88405</link>
      <description>&lt;P&gt;Hello! Thank you for you reply! I tried your suggestion but I encounter the following issue:&lt;/P&gt;
&lt;P&gt;Putting only the expression by [Name] Gives me the Automatic Total Function, but embedding it as you described gives a a 0 in the chart.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2023 12:07:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bar-Chart-Total-Automatic-to-SUM/m-p/2077765#M88405</guid>
      <dc:creator>jyanik</dc:creator>
      <dc:date>2023-05-30T12:07:55Z</dc:date>
    </item>
  </channel>
</rss>

