<?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: Filter selection with alternate fields in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Filter-selection-with-alternate-fields/m-p/2418796#M95449</link>
    <description>&lt;P&gt;Sorry I don't follow.&lt;BR /&gt;Could you illustrate with an example what you are trying to achieve?&lt;/P&gt;</description>
    <pubDate>Wed, 14 Feb 2024 13:31:21 GMT</pubDate>
    <dc:creator>vincent_ardiet_</dc:creator>
    <dc:date>2024-02-14T13:31:21Z</dc:date>
    <item>
      <title>Filter selection with alternate fields</title>
      <link>https://community.qlik.com/t5/App-Development/Filter-selection-with-alternate-fields/m-p/2418516#M95427</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;
&lt;P&gt;I have data of few scores for different items for different staff id. we need to compare month-wise individual score and get the count of staff who increased/decreased/same in their scores.&lt;/P&gt;
&lt;P&gt;For this, I have created 2 alternate states Group1 and Group2 for different month selections and when I have to compare the individual scores, I am getting the total sum of all the scores of that month selection, used the below expression -&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; If(sum({&amp;lt;Date={'$(=Date(Max({GROUP1}Date),'YYYY-MM-DD'))'}&amp;gt;}Score)&amp;lt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sum({&amp;lt;Date={'$(=Date(Max({GROUP2}Date),'YYYY-MM-DD'))'}&amp;gt;}Score),Count([Staff ID]))&lt;/P&gt;
&lt;P&gt;Tried with only/count/distinct but no luck.&lt;/P&gt;
&lt;P&gt;If score of selection 1 month &amp;lt; score of selection month 2 - Increase&lt;/P&gt;
&lt;P&gt;If score of selection 1 month &amp;gt; score of selection month 2 - Decrease&lt;/P&gt;
&lt;P&gt;If both scores are equal - Same.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All these status need to be represented in a stacked bar chart with different colour codes.&lt;/P&gt;
&lt;P&gt;Attaching images for your reference.&lt;/P&gt;
&lt;P&gt;Any leads is much appreciated !!! TIA !!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Baavik_0-1707884259575.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/159687i78CB2DFA9F4ED8E6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Baavik_0-1707884259575.png" alt="Baavik_0-1707884259575.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:04:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filter-selection-with-alternate-fields/m-p/2418516#M95427</guid>
      <dc:creator>Baavik</dc:creator>
      <dc:date>2024-11-15T21:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: Filter selection with alternate fields</title>
      <link>https://community.qlik.com/t5/App-Development/Filter-selection-with-alternate-fields/m-p/2418612#M95431</link>
      <description>&lt;P&gt;I don't understand what you are trying to represent in your bar chart and what is your issue exactly.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 08:30:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filter-selection-with-alternate-fields/m-p/2418612#M95431</guid>
      <dc:creator>vincent_ardiet_</dc:creator>
      <dc:date>2024-02-14T08:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: Filter selection with alternate fields</title>
      <link>https://community.qlik.com/t5/App-Development/Filter-selection-with-alternate-fields/m-p/2418689#M95436</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/16701"&gt;@vincent_ardiet_&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Apologies!! Ignore the values in the bar chart.&lt;/P&gt;
&lt;P&gt;I need to represent the count of staff id for those who are in increase/decrease/same states with different colour codes in the bar chart.&lt;/P&gt;
&lt;P&gt;As per the above data ,comparing scores of selection 1 and 2, count of staff id should be like -&lt;/P&gt;
&lt;P&gt;5 in same (grey colour), 4 increase (Green colour) and 1 decrease(Red colour).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this is clear !! Thanks!!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 10:21:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filter-selection-with-alternate-fields/m-p/2418689#M95436</guid>
      <dc:creator>Baavik</dc:creator>
      <dc:date>2024-02-14T10:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: Filter selection with alternate fields</title>
      <link>https://community.qlik.com/t5/App-Development/Filter-selection-with-alternate-fields/m-p/2418699#M95441</link>
      <description>&lt;P&gt;You can create 3 measures, one for each status for example.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 10:27:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filter-selection-with-alternate-fields/m-p/2418699#M95441</guid>
      <dc:creator>vincent_ardiet_</dc:creator>
      <dc:date>2024-02-14T10:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: Filter selection with alternate fields</title>
      <link>https://community.qlik.com/t5/App-Development/Filter-selection-with-alternate-fields/m-p/2418746#M95447</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/16701"&gt;@vincent_ardiet_&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, that is where I am facing the issue. I have used the below expression for &lt;STRONG&gt;Increase state &lt;/STRONG&gt;(if individual score of selection1 is &amp;lt; individual score of selection 2)&amp;nbsp;as-&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;If(sum({&amp;lt;Date={'$(=Date(Max({GROUP1}Date),'YYYY-MM-DD'))'}&amp;gt;}Score)&amp;lt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sum({&amp;lt;Date={'$(=Date(Max({GROUP2}Date),'YYYY-MM-DD'))'}&amp;gt;}Score)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Group1 and Group2 are month selections , in that I need the month-end data, so have taken max(date).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Now this expression is summing up all the scores and comparing but I need individual score comparison.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Tried with only, count,&amp;nbsp; but it didn't work.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 11:47:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filter-selection-with-alternate-fields/m-p/2418746#M95447</guid>
      <dc:creator>Baavik</dc:creator>
      <dc:date>2024-02-14T11:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: Filter selection with alternate fields</title>
      <link>https://community.qlik.com/t5/App-Development/Filter-selection-with-alternate-fields/m-p/2418796#M95449</link>
      <description>&lt;P&gt;Sorry I don't follow.&lt;BR /&gt;Could you illustrate with an example what you are trying to achieve?&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 13:31:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filter-selection-with-alternate-fields/m-p/2418796#M95449</guid>
      <dc:creator>vincent_ardiet_</dc:creator>
      <dc:date>2024-02-14T13:31:21Z</dc:date>
    </item>
  </channel>
</rss>

