<?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: How to calculate relative values in stacked bar chart? (by expression) in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-calculate-relative-values-in-stacked-bar-chart-by/m-p/1759511#M58715</link>
    <description>&lt;P&gt;Hi &lt;SPAN class="UserName lia-user-name lia-user-rank-MVP"&gt;&lt;SPAN class="lia-link-navigation lia-page-link lia-link-disabled lia-user-name-link"&gt;&lt;SPAN class="login-bold"&gt;MayilVahanan&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;i tried it like you mentioned, before and &lt;STRONG&gt;it works in the case&lt;/STRONG&gt; of a barplot where i select as bar dimension my field GROUP1.&lt;/P&gt;&lt;P&gt;But:&lt;/P&gt;&lt;P&gt;If the two categorical fields GROUP1 and GROUP2 are within a variable v_parameter, which is contained as $(v_parameter) as bar&amp;nbsp; grouping dimension, then COUNT(ORDER_NO)/COUNT(TOTAL &amp;lt;$(v_time)&amp;gt; ORDER_NO)*100 does not work anymore. Both groupings are ignored and&amp;nbsp; COUNT(TOTAL &amp;lt;$(v_time)&amp;gt; ORDER_NO) counts all exising orders without any grouping.&lt;/P&gt;&lt;P&gt;Why? And how does the syntax have to be changed?&lt;/P&gt;&lt;P&gt;Thank you very much for your help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 07 Nov 2020 07:30:11 GMT</pubDate>
    <dc:creator>DSDD</dc:creator>
    <dc:date>2020-11-07T07:30:11Z</dc:date>
    <item>
      <title>How to calculate relative values in stacked bar chart? (by expression)</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-calculate-relative-values-in-stacked-bar-chart-by/m-p/1759453#M58710</link>
      <description>&lt;P&gt;Dear community,&lt;/P&gt;&lt;P&gt;i am struggling with set analysis syntax. I want to calculate relative values of Order-Number in a weekly bar chart.&lt;/P&gt;&lt;P&gt;Lets say WEEK is my field for week-date and GROUP1 my field for categorical values.&lt;/P&gt;&lt;P&gt;Pleas help me to find the syntax for the order-counts per week, while WEEK and GROUP1 are dimensions?&lt;/P&gt;&lt;P&gt;I thought COUNT(ORDER_NO)/COUNT(TOTAL &amp;lt;WEEK&amp;gt; ORDER_NO)*100 would do, but obviously not.&lt;/P&gt;&lt;P&gt;WEEK is saved in a variable v_time and may by user selection exchanged with MONTH. The same for GRPOUP1. There are several selectable grouping fields in a second variable v_group.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 17:51:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-calculate-relative-values-in-stacked-bar-chart-by/m-p/1759453#M58710</guid>
      <dc:creator>DSDD</dc:creator>
      <dc:date>2024-11-16T17:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate relative values in stacked bar chart? (by expression)</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-calculate-relative-values-in-stacked-bar-chart-by/m-p/1759496#M58713</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/128626"&gt;@DSDD&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Try like above&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;COUNT(ORDER_NO)/COUNT(TOTAL &amp;lt;$(v_time)&amp;gt; ORDER_NO)*100&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope, v_time is exactly same like ur dimension (Field) name.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Nov 2020 01:56:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-calculate-relative-values-in-stacked-bar-chart-by/m-p/1759496#M58713</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2020-11-07T01:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate relative values in stacked bar chart? (by expression)</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-calculate-relative-values-in-stacked-bar-chart-by/m-p/1759511#M58715</link>
      <description>&lt;P&gt;Hi &lt;SPAN class="UserName lia-user-name lia-user-rank-MVP"&gt;&lt;SPAN class="lia-link-navigation lia-page-link lia-link-disabled lia-user-name-link"&gt;&lt;SPAN class="login-bold"&gt;MayilVahanan&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;i tried it like you mentioned, before and &lt;STRONG&gt;it works in the case&lt;/STRONG&gt; of a barplot where i select as bar dimension my field GROUP1.&lt;/P&gt;&lt;P&gt;But:&lt;/P&gt;&lt;P&gt;If the two categorical fields GROUP1 and GROUP2 are within a variable v_parameter, which is contained as $(v_parameter) as bar&amp;nbsp; grouping dimension, then COUNT(ORDER_NO)/COUNT(TOTAL &amp;lt;$(v_time)&amp;gt; ORDER_NO)*100 does not work anymore. Both groupings are ignored and&amp;nbsp; COUNT(TOTAL &amp;lt;$(v_time)&amp;gt; ORDER_NO) counts all exising orders without any grouping.&lt;/P&gt;&lt;P&gt;Why? And how does the syntax have to be changed?&lt;/P&gt;&lt;P&gt;Thank you very much for your help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Nov 2020 07:30:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-calculate-relative-values-in-stacked-bar-chart-by/m-p/1759511#M58715</guid>
      <dc:creator>DSDD</dc:creator>
      <dc:date>2020-11-07T07:30:11Z</dc:date>
    </item>
  </channel>
</rss>

