<?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: Distribution plot: show always 0 as baseline by drilling in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Distribution-plot-show-always-0-as-baseline-by-drilling/m-p/1773642#M59915</link>
    <description>&lt;P&gt;Found the solution myself:&lt;/P&gt;&lt;P&gt;Used following formula in a Minimum and Maximum Variable:&lt;BR /&gt;=if(GetPossibleCount(CF_CompanyPair)=1&lt;BR /&gt;,Min/Max(Aggr(Sum(CF_In_CUR_Amount),CF_CategoryPair, CF_MonthID))*1.1&lt;BR /&gt;,Min/Max(Aggr(Sum(CF_In_CUR_Amount),CF_CategoryPair, CF_CompanyPair))*1.1&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;These variables did I use to check if the Min/Max &amp;lt; or &amp;gt; 0&lt;BR /&gt;Min:&amp;nbsp; &amp;nbsp;= if(num($(vDistPlotMin))&amp;lt;=0 , if(num($(vDistPlotMax))&amp;lt;=0 , num($(vDistPlotMin))&amp;nbsp; ) , 0)&lt;BR /&gt;Max:&amp;nbsp; = if(num($(vDistPlotMax))&amp;lt;=0 ,0, num($(vDistPlotMax)) )&lt;/P&gt;</description>
    <pubDate>Tue, 12 Jan 2021 09:23:55 GMT</pubDate>
    <dc:creator>petergassert</dc:creator>
    <dc:date>2021-01-12T09:23:55Z</dc:date>
    <item>
      <title>Distribution plot: show always 0 as baseline by drilling</title>
      <link>https://community.qlik.com/t5/App-Development/Distribution-plot-show-always-0-as-baseline-by-drilling/m-p/1773239#M59858</link>
      <description>&lt;P&gt;Good morning,&lt;/P&gt;&lt;P&gt;I am trying to focus my distribution plot, that always the 0 is in the middle.&lt;BR /&gt;Challange is, that the dimension is a drill down with 2 levels. First includes a formula, to cumulate company codes.&lt;/P&gt;&lt;P&gt;With min and max value this works fine on the first level by using the&amp;nbsp;&lt;/P&gt;&lt;P&gt;Min(Aggr(Sum(CF_In_CUR_Amount), CF_CompanyPair))*1.1&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="petergassert_0-1610355169808.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/46726iE14B30619ACECCBB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="petergassert_0-1610355169808.png" alt="petergassert_0-1610355169808.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;By selecting a Company Pair and the next level will be opened to a monthly level, i would need to change the grouping to show the 0 as Baseline again.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="petergassert_1-1610355661657.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/46727i219CFEE6607EEA37/image-size/medium?v=v2&amp;amp;px=400" role="button" title="petergassert_1-1610355661657.png" alt="petergassert_1-1610355661657.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Do you have any idea, how to set up the diagramm to always show the 0.&lt;/P&gt;&lt;P&gt;Points: Category Pair&lt;BR /&gt;Y-achsis: Drill down (Company Pair , YearMonth)&lt;BR /&gt;Measure: Sum(Value)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 17:37:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Distribution-plot-show-always-0-as-baseline-by-drilling/m-p/1773239#M59858</guid>
      <dc:creator>petergassert</dc:creator>
      <dc:date>2024-11-16T17:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: Distribution plot: show always 0 as baseline by drilling</title>
      <link>https://community.qlik.com/t5/App-Development/Distribution-plot-show-always-0-as-baseline-by-drilling/m-p/1773642#M59915</link>
      <description>&lt;P&gt;Found the solution myself:&lt;/P&gt;&lt;P&gt;Used following formula in a Minimum and Maximum Variable:&lt;BR /&gt;=if(GetPossibleCount(CF_CompanyPair)=1&lt;BR /&gt;,Min/Max(Aggr(Sum(CF_In_CUR_Amount),CF_CategoryPair, CF_MonthID))*1.1&lt;BR /&gt;,Min/Max(Aggr(Sum(CF_In_CUR_Amount),CF_CategoryPair, CF_CompanyPair))*1.1&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;These variables did I use to check if the Min/Max &amp;lt; or &amp;gt; 0&lt;BR /&gt;Min:&amp;nbsp; &amp;nbsp;= if(num($(vDistPlotMin))&amp;lt;=0 , if(num($(vDistPlotMax))&amp;lt;=0 , num($(vDistPlotMin))&amp;nbsp; ) , 0)&lt;BR /&gt;Max:&amp;nbsp; = if(num($(vDistPlotMax))&amp;lt;=0 ,0, num($(vDistPlotMax)) )&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 09:23:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Distribution-plot-show-always-0-as-baseline-by-drilling/m-p/1773642#M59915</guid>
      <dc:creator>petergassert</dc:creator>
      <dc:date>2021-01-12T09:23:55Z</dc:date>
    </item>
  </channel>
</rss>

