<?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: Depicting a ratio measure in a bar chart in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Depicting-a-ratio-measure-in-a-bar-chart/m-p/98193#M6538</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andreas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was using your sample data to do the calculations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My count(Month) was giving me something to divide by which gave the number of rows and the chart then also had the month as dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you give me some sample data more representative of what you are trying to do ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lisa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Sep 2018 23:04:40 GMT</pubDate>
    <dc:creator>Lisa_P</dc:creator>
    <dc:date>2018-09-24T23:04:40Z</dc:date>
    <item>
      <title>Depicting a ratio measure in a bar chart</title>
      <link>https://community.qlik.com/t5/App-Development/Depicting-a-ratio-measure-in-a-bar-chart/m-p/98189#M6534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a ratio measure which I like to depict in a bar chart; meaning the ratio shall be shown per month (dimension). Although it seems to work fine with one month, it does no longer as soon as I select two or more month. The ratio is still calculated on the total basis instead of the basis per month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are the details:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Imagine I have a list of records. Let us assume each record has the same set of data fields, one of them nominating a month, the rest whatever you may imagine. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I like to count the number of data fields which have a specific value; e.g. "X".&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;That count shall go across all records. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Now, I like to depict the ratio of the amount of "X" per month. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;What I did:&lt;/P&gt;&lt;P&gt;I defined a variable which counts all my records (across all countries and months). &lt;SPAN style="font-size: 10pt;"&gt;I am also able to count the occurrences of the value "X". &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Then I created a bar chart. The measure was number of &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;occurrences&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; of "X" divided by the number of records (the variable). &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;The dimension was the month. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;The bar chart worked fine as long as I selected one month. &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;As soon as I select two or more month, the ration was calculated always in a way taking all the records in that selected period. But the bar chart never made a correct split per month. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;So for instance:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;Month&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data a&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data b&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data c&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Jan&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; X&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fgss&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; zturz&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Jan&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fdhg&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; X&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; trzew&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Jan&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gfztr&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tzrt&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nbv&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Jan&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; trwz&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; X&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; etr&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Feb&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; trz&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; zter&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; X&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Feb&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; X&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; uze&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gfg&lt;/SPAN&gt;&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;So the overall number of records is 6 (the variable). &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;The total number of "X" is 5.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;The ratio of #"X" per records in January is 2/4. For February it is 2/2.&lt;/SPAN&gt;&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;What I like to see in the barchart while selecting Jan and Feb in my general selection in Qlik Sense is&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;- one bar for January showing 0,5 and&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;- one bar for February showing 1.&lt;/SPAN&gt;&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;What my chart is actually showing me is &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;- one bar for January showing 3/6 (correct by coincidence) and&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;- one bar for February showing 2/6&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;because the chart always takes the total amount of records and not the number of record per month.&lt;/SPAN&gt;&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;Here is the formular of the measure I use (actually I am counting blanks ...):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;sum((isNull(&lt;A&gt;)))+&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;sum((isNull(&lt;B&gt;)))+&lt;/B&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;sum((isNull(&lt;C&gt;))))&lt;/C&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;* -1 / ($(vNbOfRecords))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&lt;/SPAN&gt;&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;I have been advised already that set analysis may help but I simply do not understand how to apply that.&lt;/SPAN&gt;&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;Could anyone support please?&lt;/SPAN&gt;&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;Thanks in advance,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;kind regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Andreas&lt;BR /&gt;&lt;/SPAN&gt;&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;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Nov 2024 07:36:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Depicting-a-ratio-measure-in-a-bar-chart/m-p/98189#M6534</guid>
      <dc:creator>andreasort</dc:creator>
      <dc:date>2024-11-16T07:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: Depicting a ratio measure in a bar chart</title>
      <link>https://community.qlik.com/t5/App-Development/Depicting-a-ratio-measure-in-a-bar-chart/m-p/98190#M6535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andreas,&lt;/P&gt;&lt;P&gt;I have taken your data and created a bar chart.&amp;nbsp; See progression below with calculations in tables before converting to bar chart.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Thread314724.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/214241_Thread314724.PNG" style="height: 521px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;For your scenario you can use your formula to count nulls.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Sep 2018 22:23:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Depicting-a-ratio-measure-in-a-bar-chart/m-p/98190#M6535</guid>
      <dc:creator>Lisa_P</dc:creator>
      <dc:date>2018-09-23T22:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: Depicting a ratio measure in a bar chart</title>
      <link>https://community.qlik.com/t5/App-Development/Depicting-a-ratio-measure-in-a-bar-chart/m-p/98191#M6536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Lisa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for fast reply! I like to follow up in the thread but I still have difficulties to find it again. Until then – thanks again – I still need to digest and understand what you have done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2018 15:57:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Depicting-a-ratio-measure-in-a-bar-chart/m-p/98191#M6536</guid>
      <dc:creator>andreasort</dc:creator>
      <dc:date>2018-09-24T15:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: Depicting a ratio measure in a bar chart</title>
      <link>https://community.qlik.com/t5/App-Development/Depicting-a-ratio-measure-in-a-bar-chart/m-p/98192#M6537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Lisa!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to understand your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You mentioned that I can keep my formula to count the nulls. So no change needed for&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;(&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;sum((isNull(&lt;A&gt;)))+&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;sum((isNull(&lt;B&gt;)))+&lt;/B&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;sum((isNull(&lt;C&gt;))))&lt;/C&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;* -1 / ($(vNbOfRecords))&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;)"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 10pt; font-family: inherit; font-weight: inherit;"&gt;Then you mention to count the month: "Count(Month)". I guess you mean to count number of rows *per* month. But that is exactly what I do not know how to do. My variable &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;$(vNbOfRecords) is defined as: &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 10pt; font-family: inherit; font-weight: inherit;"&gt;=Count([Job Reference]) where Job Reference is an &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;arbitrary&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 10pt; font-family: inherit; font-weight: inherit;"&gt; identifier. So why is the genral period selection in Qlik Sense not working for this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 10pt; font-family: inherit; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 10pt; font-family: inherit; font-weight: inherit;"&gt;Certainly you can still help me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 10pt; font-family: inherit; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 10pt; font-family: inherit; font-weight: inherit;"&gt;Thanks in advance,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 10pt; font-family: inherit; font-weight: inherit;"&gt;kind regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 10pt; font-family: inherit; font-weight: inherit;"&gt;Andreas&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2018 16:23:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Depicting-a-ratio-measure-in-a-bar-chart/m-p/98192#M6537</guid>
      <dc:creator>andreasort</dc:creator>
      <dc:date>2018-09-24T16:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: Depicting a ratio measure in a bar chart</title>
      <link>https://community.qlik.com/t5/App-Development/Depicting-a-ratio-measure-in-a-bar-chart/m-p/98193#M6538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andreas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was using your sample data to do the calculations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My count(Month) was giving me something to divide by which gave the number of rows and the chart then also had the month as dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you give me some sample data more representative of what you are trying to do ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lisa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2018 23:04:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Depicting-a-ratio-measure-in-a-bar-chart/m-p/98193#M6538</guid>
      <dc:creator>Lisa_P</dc:creator>
      <dc:date>2018-09-24T23:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: Depicting a ratio measure in a bar chart</title>
      <link>https://community.qlik.com/t5/App-Development/Depicting-a-ratio-measure-in-a-bar-chart/m-p/98194#M6539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Lisa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;find attached some more screenshots and some sample data (hope the come through). The “month” is derived from last column (H) in the spread sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The charts tell you the number of records (declarations, counting unique “job references”). The formula is as mentioned above. It also shows the count of blanks. The August picture shows how the bar chart is defined (edit view).&lt;/P&gt;&lt;P&gt;In August: 496 records, 28 blanks thus a ratio of 28/496 = 0,0564.&lt;/P&gt;&lt;P&gt;In July: 73 records, 1 blank =&amp;gt; ratio is 1/73 = 0,0137&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For July and August I like to see exactly these two values in my bar chart. However, as you can see in the “july and august chart.jpg” picture,  the July and the August ratio are calculated on the total sum of records (496+73=569, but due to duplicates it is calculated as 567 in the chart); meaning for July the ratio is depicted as 1/567 = 0,0017 and for August it is depicted as 28/567=0,0494.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will that help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2018 07:23:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Depicting-a-ratio-measure-in-a-bar-chart/m-p/98194#M6539</guid>
      <dc:creator>andreasort</dc:creator>
      <dc:date>2018-09-25T07:23:48Z</dc:date>
    </item>
  </channel>
</rss>

