<?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: Difficult Aggr with COUNT in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Difficult-Aggr-with-COUNT/m-p/1793855#M64364</link>
    <description>&lt;P&gt;Hi Denis,&lt;/P&gt;&lt;P&gt;what if you try to use set analysis script to tweak your expression?&lt;/P&gt;&lt;P&gt;count (&amp;nbsp; {&amp;lt;&amp;nbsp;&lt;SPAN&gt;SCORE_DATE = {"$(=Aggr(distinct MAX(SCORE_DATE, MONTH, INN_NUM)))"}&lt;/SPAN&gt; &amp;nbsp;&amp;gt;} xxxx)&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;m&lt;/P&gt;</description>
    <pubDate>Tue, 23 Mar 2021 20:13:39 GMT</pubDate>
    <dc:creator>mato32188</dc:creator>
    <dc:date>2021-03-23T20:13:39Z</dc:date>
    <item>
      <title>Difficult Aggr with COUNT</title>
      <link>https://community.qlik.com/t5/App-Development/Difficult-Aggr-with-COUNT/m-p/1792100#M64360</link>
      <description>&lt;P&gt;Good afternoon, dear colleagues!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I have a problem in my project. Hope someone could give me an advice.&lt;/P&gt;&lt;P&gt;1) I am loading table from db with columns:&amp;nbsp;&lt;/P&gt;&lt;P&gt;INN; FRAUD_RISK_ZONE;SCORE_DATE;RULESET&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4D1D9D58-63D1-4BD8-A698-E89E45837FC0.jpeg" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/51298i8262D5DBF9F0C237/image-size/large?v=v2&amp;amp;px=999" role="button" title="4D1D9D58-63D1-4BD8-A698-E89E45837FC0.jpeg" alt="4D1D9D58-63D1-4BD8-A698-E89E45837FC0.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2) I want to make bar chart, where dimension is MONTH(SCORE_DATE). But the case is I should select&amp;nbsp;&lt;/P&gt;&lt;P&gt;only row with last score_date in month. On SQL it looks like&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="B32D9E40-7430-4732-A2A9-6BF665BBC251.jpeg" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/51299iBA287EFA3B140644/image-size/large?v=v2&amp;amp;px=999" role="button" title="B32D9E40-7430-4732-A2A9-6BF665BBC251.jpeg" alt="B32D9E40-7430-4732-A2A9-6BF665BBC251.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In measure I tried COUNT(Aggr(distinct MAX(SCORE_DATE, MONTH, INN_NUM))).&lt;/P&gt;&lt;P&gt;but it works bad...because it doesn’t select correct FRAUD_RISK_ZONE.&lt;/P&gt;&lt;P&gt;this is the result:&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="E8156183-3DB1-423C-BD40-4C4400202F19.jpeg" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/51301i3846F0A6AFE1214D/image-size/large?v=v2&amp;amp;px=999" role="button" title="E8156183-3DB1-423C-BD40-4C4400202F19.jpeg" alt="E8156183-3DB1-423C-BD40-4C4400202F19.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;How I should write the measure that select rows with only max(SCORE_DATE)?&lt;BR /&gt;which takes only columns of this rows?&lt;BR /&gt;thank you!!!&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:25:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Difficult-Aggr-with-COUNT/m-p/1792100#M64360</guid>
      <dc:creator>Kakurin_Denis</dc:creator>
      <dc:date>2024-11-16T00:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: Difficult Aggr with COUNT</title>
      <link>https://community.qlik.com/t5/App-Development/Difficult-Aggr-with-COUNT/m-p/1792105#M64361</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/137463"&gt;@Kakurin_Denis&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Which are your actual bar chart dimension and measure?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Mar 2021 08:43:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Difficult-Aggr-with-COUNT/m-p/1792105#M64361</guid>
      <dc:creator>agigliotti</dc:creator>
      <dc:date>2021-03-17T08:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: Difficult Aggr with COUNT</title>
      <link>https://community.qlik.com/t5/App-Development/Difficult-Aggr-with-COUNT/m-p/1792111#M64362</link>
      <description>&lt;P&gt;I have 2 dimensions: RULESET and FRAUD_RISK_ZONE.&lt;/P&gt;&lt;P&gt;measure is&amp;nbsp;&lt;SPAN&gt;COUNT(Aggr(distinct MAX(SCORE_DATE, MONTH, INN_NUM))).&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Mar 2021 09:02:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Difficult-Aggr-with-COUNT/m-p/1792111#M64362</guid>
      <dc:creator>Kakurin_Denis</dc:creator>
      <dc:date>2021-03-17T09:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: Difficult Aggr with COUNT</title>
      <link>https://community.qlik.com/t5/App-Development/Difficult-Aggr-with-COUNT/m-p/1792124#M64363</link>
      <description>&lt;P&gt;could you post a sample app with mock data to take a look at?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Mar 2021 09:46:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Difficult-Aggr-with-COUNT/m-p/1792124#M64363</guid>
      <dc:creator>agigliotti</dc:creator>
      <dc:date>2021-03-17T09:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: Difficult Aggr with COUNT</title>
      <link>https://community.qlik.com/t5/App-Development/Difficult-Aggr-with-COUNT/m-p/1793855#M64364</link>
      <description>&lt;P&gt;Hi Denis,&lt;/P&gt;&lt;P&gt;what if you try to use set analysis script to tweak your expression?&lt;/P&gt;&lt;P&gt;count (&amp;nbsp; {&amp;lt;&amp;nbsp;&lt;SPAN&gt;SCORE_DATE = {"$(=Aggr(distinct MAX(SCORE_DATE, MONTH, INN_NUM)))"}&lt;/SPAN&gt; &amp;nbsp;&amp;gt;} xxxx)&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;m&lt;/P&gt;</description>
      <pubDate>Tue, 23 Mar 2021 20:13:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Difficult-Aggr-with-COUNT/m-p/1793855#M64364</guid>
      <dc:creator>mato32188</dc:creator>
      <dc:date>2021-03-23T20:13:39Z</dc:date>
    </item>
  </channel>
</rss>

