<?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: Column with only certain data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Column-with-only-certain-data/m-p/93525#M758052</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am glad it worked. can you please close the thread. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Sep 2018 19:03:18 GMT</pubDate>
    <dc:creator>neelamsaroha157</dc:creator>
    <dc:date>2018-09-04T19:03:18Z</dc:date>
    <item>
      <title>Column with only certain data</title>
      <link>https://community.qlik.com/t5/QlikView/Column-with-only-certain-data/m-p/93522#M758049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Everyone on here is always so helpful, so here is another question....&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on Student discipline events and I need a column that shows just the number of events per student for the last few years.&amp;nbsp; I have a column that will do a year when that year is highlighted but I want to create columns that no matter what year is highlighted it will show the number of incidents per a student for 2018 or 2017 or 2016.&amp;nbsp; I am trying to see if my chronic behavior students are consistent year after year of if student has started to misbehave the last year (maybe due to outside forces we can't control for in school)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what I use if I click on a given year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=max(aggr(count(distinct behaviorDetail.incidentID),Student_Name))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a place in there to slip in Year = 2018 or Year = 2017?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Column-with-only-certain-data/m-p/93522#M758049</guid>
      <dc:creator>charlesdmeyer</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Column with only certain data</title>
      <link>https://community.qlik.com/t5/QlikView/Column-with-only-certain-data/m-p/93523#M758050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you try - &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=max(aggr(count({&amp;lt;Year = {'2018'}&amp;gt;}distinct behaviorDetail.incidentID),Student_Name))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;or if you want the selected year instead of hard-coding it&amp;nbsp; the you can create a variable as vMaxYear=max(Year) and use this variable in the expression - &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=max(aggr(count({&amp;lt;Year = {$(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vMaxYear&lt;/SPAN&gt;)}&amp;gt;}distinct behaviorDetail.incidentID),Student_Name))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2018 17:43:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Column-with-only-certain-data/m-p/93523#M758050</guid>
      <dc:creator>neelamsaroha157</dc:creator>
      <dc:date>2018-09-04T17:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: Column with only certain data</title>
      <link>https://community.qlik.com/t5/QlikView/Column-with-only-certain-data/m-p/93524#M758051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, that did the trick.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On Tue, Sep 4, 2018 at 1:43 PM neelamsaroha1575 &amp;lt;qcwebmaster@qlikview.com&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2018 18:57:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Column-with-only-certain-data/m-p/93524#M758051</guid>
      <dc:creator>charlesdmeyer</dc:creator>
      <dc:date>2018-09-04T18:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: Column with only certain data</title>
      <link>https://community.qlik.com/t5/QlikView/Column-with-only-certain-data/m-p/93525#M758052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am glad it worked. can you please close the thread. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2018 19:03:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Column-with-only-certain-data/m-p/93525#M758052</guid>
      <dc:creator>neelamsaroha157</dc:creator>
      <dc:date>2018-09-04T19:03:18Z</dc:date>
    </item>
  </channel>
</rss>

