<?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: The last occurrence of the value of a group dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/The-last-occurrence-of-the-value-of-a-group-dimension/m-p/1767406#M719263</link>
    <description>&lt;P&gt;i think it's possible to hiden it ive made this&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Shinigaloo_0-1607531596798.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/45471i7F37FAE50EE8C73C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Shinigaloo_0-1607531596798.png" alt="Shinigaloo_0-1607531596798.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and it works&lt;/P&gt;</description>
    <pubDate>Wed, 09 Dec 2020 16:33:29 GMT</pubDate>
    <dc:creator>Shinigaloo</dc:creator>
    <dc:date>2020-12-09T16:33:29Z</dc:date>
    <item>
      <title>The last occurrence of the value of a group dimension</title>
      <link>https://community.qlik.com/t5/QlikView/The-last-occurrence-of-the-value-of-a-group-dimension/m-p/1767104#M719246</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello all,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I want to be able to access to a detail distribution of my activated devices by type on a given period of time&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What have been done&amp;nbsp;:&amp;nbsp; i have created a bar chart that display the number of activeated device by device&amp;nbsp;[Catégorie equipement&amp;nbsp;] and its type [Modèle équipement&amp;nbsp;] ( see the attached picture)&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN&gt;Measure&amp;nbsp;:&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;=Count({($&amp;lt;activation_eqt= {"&amp;gt;=$(=$(vDateDebFormat))"}&amp;gt;) * ($&amp;lt;activation_eqt= {"&amp;lt;=$(=$(vDateFinFormat))"}&amp;gt;)} distinct ([ID_EQT]))&amp;nbsp;&lt;SPAN&gt;Dimension&amp;nbsp;: group dimension&amp;nbsp;[Device]&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Now the probelem is that for&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;[Modèle équipement&amp;nbsp;], i want to display only the last occurrence of this field on a given period&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;I’ve tried with this measure but it doesn’t worked :&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;=Count({&amp;lt;[Modèle équipement]&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;= {"$(=FirstSortedValue([Modèle équipement],-Aggr(max({&amp;lt;activation_eqt= {"&amp;gt;=&lt;STRONG&gt;&lt;EM&gt;$(=$(vDateDebFormat))&lt;/EM&gt;&lt;/STRONG&gt;"}&amp;gt; * &amp;lt;activation_eqt= {"&amp;lt;=&lt;STRONG&gt;&lt;EM&gt;$(=$(vDateFinFormat))&lt;/EM&gt;&lt;/STRONG&gt;"}&amp;gt;}activation_eqt), [Modèle équipement])))"}&amp;gt;}&amp;nbsp; DISTINCT&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;[ID_EQT])&lt;/P&gt;&lt;P&gt;exp :&lt;/P&gt;&lt;P&gt;user1 / categoriA /&amp;nbsp;Modèle équipement AA /12/12/2020&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;user1 / categoriA / Modèle équipement bb/13/12/2020&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to display the occurrence with the largest date on the histogram not on the script :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;user1 / categoriA / Modèle équipement bb/13/12/2020&lt;/P&gt;&lt;P&gt;Could you help me plz it's very urgent.&lt;/P&gt;&lt;P&gt;thx you !!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 17:43:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-last-occurrence-of-the-value-of-a-group-dimension/m-p/1767104#M719246</guid>
      <dc:creator>Shinigaloo</dc:creator>
      <dc:date>2024-11-16T17:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: The last occurrence of the value of a group dimension</title>
      <link>https://community.qlik.com/t5/QlikView/The-last-occurrence-of-the-value-of-a-group-dimension/m-p/1767150#M719247</link>
      <description>&lt;P&gt;See Sunny Talwar's post:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/New-to-Qlik-Sense/Max-Date-per-Month/m-p/1527312#M123147" target="_blank"&gt;Max Date per Month - Qlik Community - 1527312&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Attached is an extension of that:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 22:41:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-last-occurrence-of-the-value-of-a-group-dimension/m-p/1767150#M719247</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2020-12-08T22:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: The last occurrence of the value of a group dimension</title>
      <link>https://community.qlik.com/t5/QlikView/The-last-occurrence-of-the-value-of-a-group-dimension/m-p/1767200#M719248</link>
      <description>&lt;P&gt;&amp;nbsp;It seems like Max(Date#(Date,'YYYY')) isn't a valid&amp;nbsp;dimension.&amp;nbsp; I want the&amp;nbsp;values&amp;nbsp;of my chart to be 1 for 2014, 1 for 2015 and 2 for 2017. know how to use&amp;nbsp;the last occurrence&amp;nbsp;instead of the first for a distinct count.&amp;nbsp; aggr works like a&amp;nbsp;group&amp;nbsp;by in the script in your case you must&amp;nbsp;group&amp;nbsp;the max date by ID.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 07:25:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-last-occurrence-of-the-value-of-a-group-dimension/m-p/1767200#M719248</guid>
      <dc:creator>bullock456</dc:creator>
      <dc:date>2020-12-09T07:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: The last occurrence of the value of a group dimension</title>
      <link>https://community.qlik.com/t5/QlikView/The-last-occurrence-of-the-value-of-a-group-dimension/m-p/1767217#M719249</link>
      <description>&lt;P&gt;in the example below Edwin , you have used category and model as 2 dimensions , but in my case i have one groupes dimension (hierarchical dimemsion )[Device] that contains the 2 dimension (see attached png)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Shinigaloo_0-1607502802357.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/45421iE8DBB3BF8D587017/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Shinigaloo_0-1607502802357.png" alt="Shinigaloo_0-1607502802357.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i'm using a bar chart graph that will diplay the number of equipement by category , and then when you clik into one category , you will have the detail of each model&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now as i said i want to only have the last occurence of model dimension&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 08:35:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-last-occurrence-of-the-value-of-a-group-dimension/m-p/1767217#M719249</guid>
      <dc:creator>Shinigaloo</dc:creator>
      <dc:date>2020-12-09T08:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: The last occurrence of the value of a group dimension</title>
      <link>https://community.qlik.com/t5/QlikView/The-last-occurrence-of-the-value-of-a-group-dimension/m-p/1767298#M719250</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/52092"&gt;@bullock456&lt;/a&gt;&amp;nbsp;the principle is the same whether you group by Month, Category, Year.&amp;nbsp; here is an example in line with&amp;nbsp; the same solution from Sunny:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/New-to-QlikView/Max-date-per-month-for-6-months-dynamic-in-Bar-chart/m-p/1767126#M395146" target="_blank"&gt;Re: Max date per month for 6 months dynamic in Bar... - Qlik Community - 1766588&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;re&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;It seems like Max(Date#(Date,'YYYY')) isn't a valid&amp;nbsp;dimension &lt;/STRONG&gt;&lt;/EM&gt;were you referring to your own data model?&amp;nbsp; if this is a new question, you should open a new thread&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 12:40:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-last-occurrence-of-the-value-of-a-group-dimension/m-p/1767298#M719250</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2020-12-09T12:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: The last occurrence of the value of a group dimension</title>
      <link>https://community.qlik.com/t5/QlikView/The-last-occurrence-of-the-value-of-a-group-dimension/m-p/1767304#M719251</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/58578"&gt;@edwin&lt;/a&gt;&amp;nbsp;can you please help me ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 12:45:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-last-occurrence-of-the-value-of-a-group-dimension/m-p/1767304#M719251</guid>
      <dc:creator>Shinigaloo</dc:creator>
      <dc:date>2020-12-09T12:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: The last occurrence of the value of a group dimension</title>
      <link>https://community.qlik.com/t5/QlikView/The-last-occurrence-of-the-value-of-a-group-dimension/m-p/1767305#M719252</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/131159"&gt;@Shinigaloo&lt;/a&gt;&amp;nbsp;the grouping is a drill down.&amp;nbsp; selecting a category will display the model but a category is still selected.&amp;nbsp; when you added the group, did it work the way you expected?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 12:46:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-last-occurrence-of-the-value-of-a-group-dimension/m-p/1767305#M719252</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2020-12-09T12:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: The last occurrence of the value of a group dimension</title>
      <link>https://community.qlik.com/t5/QlikView/The-last-occurrence-of-the-value-of-a-group-dimension/m-p/1767312#M719253</link>
      <description>&lt;P&gt;yes , it looks great now, meanwhile i have another problem is that i have to do this calcul for each user , it means that user should be involved into sum expression ?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 13:07:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-last-occurrence-of-the-value-of-a-group-dimension/m-p/1767312#M719253</guid>
      <dc:creator>Shinigaloo</dc:creator>
      <dc:date>2020-12-09T13:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: The last occurrence of the value of a group dimension</title>
      <link>https://community.qlik.com/t5/QlikView/The-last-occurrence-of-the-value-of-a-group-dimension/m-p/1767322#M719254</link>
      <description>&lt;P&gt;i've updated the .qvw document so that i've added one more user , so now how can i handle this situation , i have to do the same work but for each user ?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 13:57:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-last-occurrence-of-the-value-of-a-group-dimension/m-p/1767322#M719254</guid>
      <dc:creator>Shinigaloo</dc:creator>
      <dc:date>2020-12-09T13:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: The last occurrence of the value of a group dimension</title>
      <link>https://community.qlik.com/t5/QlikView/The-last-occurrence-of-the-value-of-a-group-dimension/m-p/1767360#M719255</link>
      <description>&lt;P&gt;i do see the new user but i do see its behaving per specification max date per category.&amp;nbsp; did you mean that it should be max date per category and user?&amp;nbsp; regardless of model?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 14:58:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-last-occurrence-of-the-value-of-a-group-dimension/m-p/1767360#M719255</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2020-12-09T14:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: The last occurrence of the value of a group dimension</title>
      <link>https://community.qlik.com/t5/QlikView/The-last-occurrence-of-the-value-of-a-group-dimension/m-p/1767365#M719256</link>
      <description>&lt;P&gt;re Edwin ,&lt;/P&gt;&lt;P&gt;it should be the last occurrence for a model per user, and category&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 15:09:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-last-occurrence-of-the-value-of-a-group-dimension/m-p/1767365#M719256</guid>
      <dc:creator>Shinigaloo</dc:creator>
      <dc:date>2020-12-09T15:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: The last occurrence of the value of a group dimension</title>
      <link>https://community.qlik.com/t5/QlikView/The-last-occurrence-of-the-value-of-a-group-dimension/m-p/1767369#M719257</link>
      <description>&lt;P&gt;just expand teh AGGR then&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 15:22:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-last-occurrence-of-the-value-of-a-group-dimension/m-p/1767369#M719257</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2020-12-09T15:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: The last occurrence of the value of a group dimension</title>
      <link>https://community.qlik.com/t5/QlikView/The-last-occurrence-of-the-value-of-a-group-dimension/m-p/1767371#M719258</link>
      <description />
      <pubDate>Wed, 09 Dec 2020 15:24:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-last-occurrence-of-the-value-of-a-group-dimension/m-p/1767371#M719258</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2020-12-09T15:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: The last occurrence of the value of a group dimension</title>
      <link>https://community.qlik.com/t5/QlikView/The-last-occurrence-of-the-value-of-a-group-dimension/m-p/1767381#M719259</link>
      <description>&lt;P&gt;ohhh thank you edwin it's worked finally ,&lt;/P&gt;&lt;P&gt;now i have another issue edwin , ive converted your qvw to a bar chart ,and i still have the titles of all the models even if they are empty how display only the titles of last models&lt;/P&gt;&lt;P&gt;here is the&amp;nbsp; qvw document updated&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 15:45:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-last-occurrence-of-the-value-of-a-group-dimension/m-p/1767381#M719259</guid>
      <dc:creator>Shinigaloo</dc:creator>
      <dc:date>2020-12-09T15:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: The last occurrence of the value of a group dimension</title>
      <link>https://community.qlik.com/t5/QlikView/The-last-occurrence-of-the-value-of-a-group-dimension/m-p/1767389#M719260</link>
      <description>&lt;P&gt;that is how the bar chart works, it will show all the values of the dimensions.&amp;nbsp; so if model A appears in one date but not in another, it will show it as 0 in a bar chart&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 16:02:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-last-occurrence-of-the-value-of-a-group-dimension/m-p/1767389#M719260</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2020-12-09T16:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: The last occurrence of the value of a group dimension</title>
      <link>https://community.qlik.com/t5/QlikView/The-last-occurrence-of-the-value-of-a-group-dimension/m-p/1767390#M719261</link>
      <description>&lt;P&gt;also, i dont think a bar chart is the best presentation for this.&amp;nbsp; once you get a lot of models and dates, the chart will be very busy.&amp;nbsp; this should be a straight table&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 16:05:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-last-occurrence-of-the-value-of-a-group-dimension/m-p/1767390#M719261</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2020-12-09T16:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: The last occurrence of the value of a group dimension</title>
      <link>https://community.qlik.com/t5/QlikView/The-last-occurrence-of-the-value-of-a-group-dimension/m-p/1767403#M719262</link>
      <description>&lt;P&gt;thank you so much edwin , for your responses&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 16:29:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-last-occurrence-of-the-value-of-a-group-dimension/m-p/1767403#M719262</guid>
      <dc:creator>Shinigaloo</dc:creator>
      <dc:date>2020-12-09T16:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: The last occurrence of the value of a group dimension</title>
      <link>https://community.qlik.com/t5/QlikView/The-last-occurrence-of-the-value-of-a-group-dimension/m-p/1767406#M719263</link>
      <description>&lt;P&gt;i think it's possible to hiden it ive made this&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Shinigaloo_0-1607531596798.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/45471i7F37FAE50EE8C73C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Shinigaloo_0-1607531596798.png" alt="Shinigaloo_0-1607531596798.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and it works&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 16:33:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-last-occurrence-of-the-value-of-a-group-dimension/m-p/1767406#M719263</guid>
      <dc:creator>Shinigaloo</dc:creator>
      <dc:date>2020-12-09T16:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: The last occurrence of the value of a group dimension</title>
      <link>https://community.qlik.com/t5/QlikView/The-last-occurrence-of-the-value-of-a-group-dimension/m-p/1767413#M719264</link>
      <description>&lt;P&gt;awesome&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 16:53:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-last-occurrence-of-the-value-of-a-group-dimension/m-p/1767413#M719264</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2020-12-09T16:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: The last occurrence of the value of a group dimension</title>
      <link>https://community.qlik.com/t5/QlikView/The-last-occurrence-of-the-value-of-a-group-dimension/m-p/1767581#M719265</link>
      <description>&lt;P&gt;i have another evolution that should be taken into account in my document qvw&lt;/P&gt;&lt;P&gt;my date vary depending on the selected period, it should be&amp;nbsp; date &amp;lt; vdatefinformat&amp;nbsp; and date&amp;nbsp; &amp;gt;vdatedebformat&lt;/P&gt;&lt;P&gt;How can i apply this condition into my expression below&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 10 Dec 2020 09:33:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-last-occurrence-of-the-value-of-a-group-dimension/m-p/1767581#M719265</guid>
      <dc:creator>Shinigaloo</dc:creator>
      <dc:date>2020-12-10T09:33:16Z</dc:date>
    </item>
  </channel>
</rss>

