<?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 Line graphs as a percentage in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Line-graphs-as-a-percentage/m-p/1801018#M64917</link>
    <description>&lt;P&gt;hi experts,&lt;/P&gt;&lt;P&gt;looking for some help, apologies in advance as i am new to qlik!&lt;/P&gt;&lt;P&gt;im pulling data from a excel file(attached) and i need to do 2 simple line graphs showing the % of selections in field "mode" and "c" was used in&amp;nbsp; a certain week. However its not showing up with the correct %'s and i cant understand why?&amp;nbsp;&lt;/P&gt;&lt;P&gt;im using the wk-YY field as my x-axis in my line graphs. i used the expression "count( [Mode])/count(total "values")" and it works for a single week of data:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JohnSamuel123_0-1618936827199.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/53313i85CC0FF2177C5883/image-size/large?v=v2&amp;amp;px=999" role="button" title="JohnSamuel123_0-1618936827199.png" alt="JohnSamuel123_0-1618936827199.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but once i select numerous weeks, the line graphs dont have the correct %,(notice the different %&amp;nbsp; for week 2021-15):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JohnSamuel123_1-1618936869482.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/53314iC55C7F2DBDA3C566/image-size/large?v=v2&amp;amp;px=999" role="button" title="JohnSamuel123_1-1618936869482.png" alt="JohnSamuel123_1-1618936869482.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any help in getting the correct formula to show the total % of each mode and C type in a graph per week would be really appreciated&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 00:14:19 GMT</pubDate>
    <dc:creator>JohnSamuel123</dc:creator>
    <dc:date>2024-11-16T00:14:19Z</dc:date>
    <item>
      <title>Line graphs as a percentage</title>
      <link>https://community.qlik.com/t5/App-Development/Line-graphs-as-a-percentage/m-p/1801018#M64917</link>
      <description>&lt;P&gt;hi experts,&lt;/P&gt;&lt;P&gt;looking for some help, apologies in advance as i am new to qlik!&lt;/P&gt;&lt;P&gt;im pulling data from a excel file(attached) and i need to do 2 simple line graphs showing the % of selections in field "mode" and "c" was used in&amp;nbsp; a certain week. However its not showing up with the correct %'s and i cant understand why?&amp;nbsp;&lt;/P&gt;&lt;P&gt;im using the wk-YY field as my x-axis in my line graphs. i used the expression "count( [Mode])/count(total "values")" and it works for a single week of data:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JohnSamuel123_0-1618936827199.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/53313i85CC0FF2177C5883/image-size/large?v=v2&amp;amp;px=999" role="button" title="JohnSamuel123_0-1618936827199.png" alt="JohnSamuel123_0-1618936827199.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but once i select numerous weeks, the line graphs dont have the correct %,(notice the different %&amp;nbsp; for week 2021-15):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JohnSamuel123_1-1618936869482.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/53314iC55C7F2DBDA3C566/image-size/large?v=v2&amp;amp;px=999" role="button" title="JohnSamuel123_1-1618936869482.png" alt="JohnSamuel123_1-1618936869482.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any help in getting the correct formula to show the total % of each mode and C type in a graph per week would be really appreciated&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:14:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Line-graphs-as-a-percentage/m-p/1801018#M64917</guid>
      <dc:creator>JohnSamuel123</dc:creator>
      <dc:date>2024-11-16T00:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Line graphs as a percentage</title>
      <link>https://community.qlik.com/t5/App-Development/Line-graphs-as-a-percentage/m-p/1801026#M64921</link>
      <description>&lt;P&gt;You want to divide by the total per week, not the overall total.&amp;nbsp; So your expression should be:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;count( [Mode])/count(total &amp;lt;[Wk-YY]&amp;gt; "Values")&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-Rob&lt;BR /&gt;&lt;A href="http://masterssummit.com" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://qlikviewcookbook.com" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.easyqlik.com" target="_blank"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 16:57:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Line-graphs-as-a-percentage/m-p/1801026#M64921</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2021-04-20T16:57:39Z</dc:date>
    </item>
  </channel>
</rss>

