<?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: Line chart data points in percentage of X axis (column) vs percentage of total in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Line-chart-data-points-in-percentage-of-X-axis-column-vs/m-p/1698657#M53496</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;actually it works quite well:&lt;/P&gt;&lt;P&gt;test:&lt;BR /&gt;load * inline [&lt;BR /&gt;Dimension,ClientCount, Week&lt;BR /&gt;A,1,1&lt;BR /&gt;B,2,1&lt;BR /&gt;C,3,1&lt;BR /&gt;A,100,2&lt;BR /&gt;B,200,2&lt;BR /&gt;C,300,2&lt;BR /&gt;A,1000,3&lt;BR /&gt;B,2000,3&lt;BR /&gt;C,3000,3&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 04 May 2020 06:23:08 GMT</pubDate>
    <dc:creator>Oliver_F</dc:creator>
    <dc:date>2020-05-04T06:23:08Z</dc:date>
    <item>
      <title>Line chart data points in percentage of X axis (column) vs percentage of total</title>
      <link>https://community.qlik.com/t5/App-Development/Line-chart-data-points-in-percentage-of-X-axis-column-vs/m-p/1698353#M53457</link>
      <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a line chart that looks like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JStal_0-1588348811749.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/32806i60934117F19ACF89/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JStal_0-1588348811749.png" alt="JStal_0-1588348811749.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The percentages are being calculated on the entire total count, and not on the week as I'm hoping for.&lt;/STRONG&gt; The weeks are determined based on a master calendar I put in the load script. I know I need to add this in to my expression somewhere, but I can't figure out where. Here's my current expression:&lt;/P&gt;&lt;P&gt;Count({&amp;lt;Health&amp;gt;} distinct [Clients])&lt;BR /&gt;/&lt;BR /&gt;Count({&amp;lt;Health&amp;gt;} distinct total [Clients])&lt;/P&gt;&lt;P&gt;Any help on this is greatly appreciated, I am definitely at a stopping point until I can get it figured out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 18:42:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Line-chart-data-points-in-percentage-of-X-axis-column-vs/m-p/1698353#M53457</guid>
      <dc:creator>QlikChick</dc:creator>
      <dc:date>2024-11-16T18:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: Line chart data points in percentage of X axis (column) vs percentage of total</title>
      <link>https://community.qlik.com/t5/App-Development/Line-chart-data-points-in-percentage-of-X-axis-column-vs/m-p/1698448#M53465</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;you can specify the total command by adding a subset of dimenions in &amp;lt;&amp;gt; - See this article:&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/sense/April2020/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/define-aggregation-scope.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense/April2020/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/define-aggregation-scope.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your formula should look similar to this I guess:&lt;/P&gt;&lt;P&gt;Count({&amp;lt;Health&amp;gt;} distinct [Clients])&lt;BR /&gt;/&lt;BR /&gt;Count({&amp;lt;Health&amp;gt;} distinct total &amp;lt;weekdimension&amp;gt; [Clients])&lt;/P&gt;</description>
      <pubDate>Sat, 02 May 2020 08:32:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Line-chart-data-points-in-percentage-of-X-axis-column-vs/m-p/1698448#M53465</guid>
      <dc:creator>Oliver_F</dc:creator>
      <dc:date>2020-05-02T08:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: Line chart data points in percentage of X axis (column) vs percentage of total</title>
      <link>https://community.qlik.com/t5/App-Development/Line-chart-data-points-in-percentage-of-X-axis-column-vs/m-p/1698490#M53472</link>
      <description>&lt;P&gt;Hi there! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I tried this before and again just now, and it is not working. I feel like I need to use the aggr function, but I know that's involved and I'm not confident in understanding the correct syntax to use.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any further help is greatly appreciated!&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;J&lt;/P&gt;</description>
      <pubDate>Sat, 02 May 2020 22:25:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Line-chart-data-points-in-percentage-of-X-axis-column-vs/m-p/1698490#M53472</guid>
      <dc:creator>QlikChick</dc:creator>
      <dc:date>2020-05-02T22:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: Line chart data points in percentage of X axis (column) vs percentage of total</title>
      <link>https://community.qlik.com/t5/App-Development/Line-chart-data-points-in-percentage-of-X-axis-column-vs/m-p/1698657#M53496</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;actually it works quite well:&lt;/P&gt;&lt;P&gt;test:&lt;BR /&gt;load * inline [&lt;BR /&gt;Dimension,ClientCount, Week&lt;BR /&gt;A,1,1&lt;BR /&gt;B,2,1&lt;BR /&gt;C,3,1&lt;BR /&gt;A,100,2&lt;BR /&gt;B,200,2&lt;BR /&gt;C,300,2&lt;BR /&gt;A,1000,3&lt;BR /&gt;B,2000,3&lt;BR /&gt;C,3000,3&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2020 06:23:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Line-chart-data-points-in-percentage-of-X-axis-column-vs/m-p/1698657#M53496</guid>
      <dc:creator>Oliver_F</dc:creator>
      <dc:date>2020-05-04T06:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: Line chart data points in percentage of X axis (column) vs percentage of total</title>
      <link>https://community.qlik.com/t5/App-Development/Line-chart-data-points-in-percentage-of-X-axis-column-vs/m-p/1699205#M53531</link>
      <description>&lt;P&gt;First of all, Ofzicoo, thank you SO much for persisting and stating that it should work! I actually don't have an excuse for what has happened, and would love your thoughts. I went in and added what you shared...and &lt;STRONG&gt;nothing&lt;/STRONG&gt; happened. Same results, nothing new.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now here's the strange thing....&lt;/P&gt;&lt;P&gt;I noticed that my dimension for Week included &lt;U&gt;a comment &lt;/U&gt;, it was something I tried early on but I decided I didn't need it and commented it out. So here is what was in the dimension:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=WeekOf&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//=if(WeekOf&amp;gt;='11/17/2019',WeekOf,)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;On a whim, I decided to go in an delete that comment, and everything then worked. HOW?? I have been commenting in the expression editor in all apps I've built without issue....why would this not work and when I delete out a comment from the expression editor it suddenly work? I had to call a colleague and demonstrate because I could not believe it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can only assume this is either a glitch, or I should never &lt;STRONG&gt;ever&lt;/STRONG&gt; be commenting in the expression editor and I just did not know that (self-taught). Any insight?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks so much for all the help!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 May 2020 19:31:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Line-chart-data-points-in-percentage-of-X-axis-column-vs/m-p/1699205#M53531</guid>
      <dc:creator>QlikChick</dc:creator>
      <dc:date>2020-05-05T19:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: Line chart data points in percentage of X axis (column) vs percentage of total</title>
      <link>https://community.qlik.com/t5/App-Development/Line-chart-data-points-in-percentage-of-X-axis-column-vs/m-p/1699281#M53540</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I guess that when you add total &amp;lt;WeekOf&amp;gt; Qlik excludes a Dimension that is called "WeekOf" but Your Dimension is "WeekOf //Comment". I know this sounds stupid first, but you could have Dimensions like&lt;/P&gt;&lt;P&gt;=if(Dim1 = 'A', Dim2, Dim3)&lt;/P&gt;&lt;P&gt;So do do not end up neither with Dim2 nor with Dim3. You end up with a dynamic dimension. So total &amp;lt;dim1&amp;gt; would not work.&lt;/P&gt;&lt;P&gt;I guess this is what happens here. Adding a Comment makes your dimension an expression which makes it a dynamic dimensions. Probably dynamic dimensions are not supported as a paramter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not 100% sure about this, but this theory explains pretty much everything in your usecase.&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2020 06:38:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Line-chart-data-points-in-percentage-of-X-axis-column-vs/m-p/1699281#M53540</guid>
      <dc:creator>Oliver_F</dc:creator>
      <dc:date>2020-05-06T06:38:04Z</dc:date>
    </item>
  </channel>
</rss>

