<?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: Bar chart help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Bar-chart-help/m-p/744222#M1046565</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In denominator, you need to use COUNT or SUM as per your given definition?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Nov 2014 22:20:44 GMT</pubDate>
    <dc:creator>MK_QSL</dc:creator>
    <dc:date>2014-11-13T22:20:44Z</dc:date>
    <item>
      <title>Bar chart help</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart-help/m-p/744221#M1046564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hello community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking for some help on a bar graph that I am having difficulty doing the formula for.&amp;nbsp; Here is what I am looking to produce:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking to graph ratios by state which I am able to do.&amp;nbsp; I am also looking to sort the graph by a different expression which I have also done.&amp;nbsp; I am having difficulty getting the formula correct and looking for an idea.&amp;nbsp; Here is what I need:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The formula should involve the variance in ratio for 2014 from plan, while also taking into account the weight of the state.&amp;nbsp; IE a variance in a bigger state is a big deal.&amp;nbsp; I cannot figure out how to represent the relative nature of the state.&amp;nbsp; Here is my formula so far:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG style="text-decoration: underline;"&gt;&lt;STRONG style=": ; color: #ff8000; font-size: 8pt; text-decoration: underline;"&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;((&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;YEAR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={2014}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MONTH&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'6'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Losses]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;YEAR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={2014}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MONTH&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'6'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[EARNED PREMIUM]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)-&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;YEAR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'PLAN'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MONTH&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'6'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Losses]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;YEAR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'PLAN'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MONTH&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'6'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[EARNED PREMIUM]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) * weight of state&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I thought of doing (sum of loss / sum of earned premium) / (count of loss / count of earned premium) = weight of state.&amp;nbsp; That did not seem to work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Looking for some help on this.&amp;nbsp; Here is a copy of the graph:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;IMG alt="Table.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/71226_Table.png" style="width: 620px; height: 99px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2014 21:59:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart-help/m-p/744221#M1046564</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-13T21:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart help</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart-help/m-p/744222#M1046565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In denominator, you need to use COUNT or SUM as per your given definition?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2014 22:20:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart-help/m-p/744222#M1046565</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-11-13T22:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart help</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart-help/m-p/744223#M1046566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your formula you have Year={'PLAN'}...&lt;/P&gt;&lt;P&gt;How can you have a string, for Year?&lt;/P&gt;&lt;P&gt;If PLAN is a variable then enclose it with parenthesis but it does not seem to be a variable.&lt;/P&gt;&lt;P&gt;I think you need to revisit your formula and correct the errors.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2014 04:24:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart-help/m-p/744223#M1046566</guid>
      <dc:creator>jduenyas</dc:creator>
      <dc:date>2014-11-14T04:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart help</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart-help/m-p/744224#M1046567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Manish and Josh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plan is a year listed in our model, which is why we can use a string.&amp;nbsp; There are no errors currently, outside of that I cannot visualize how to get the weight or the percentage of earned premium each state is.&amp;nbsp; Ultimately I am just asking how to get the weight relative to the whole so I can multiply that against the variance.&amp;nbsp; Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2014 13:15:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart-help/m-p/744224#M1046567</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-14T13:15:48Z</dc:date>
    </item>
  </channel>
</rss>

