<?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: Max &amp;amp; If/Only in creation of Measure in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Max-amp-If-Only-in-creation-of-Measure/m-p/2025051#M84542</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/213837"&gt;@SingSing16&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;In a table with ProjectName as dimension:&lt;/P&gt;
&lt;P&gt;Add measure "Status" as below:&lt;/P&gt;
&lt;P&gt;=FirstSortedValue( Status, -DateOfChange )&lt;/P&gt;
&lt;P&gt;Add measure "DateOfChange" as below:&lt;/P&gt;
&lt;P&gt;=Max(&amp;nbsp;DateOfChange&amp;nbsp; )&lt;/P&gt;
&lt;P&gt;I hope it can helps.&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
    <pubDate>Thu, 12 Jan 2023 15:28:00 GMT</pubDate>
    <dc:creator>agigliotti</dc:creator>
    <dc:date>2023-01-12T15:28:00Z</dc:date>
    <item>
      <title>Max &amp; If/Only in creation of Measure</title>
      <link>https://community.qlik.com/t5/App-Development/Max-amp-If-Only-in-creation-of-Measure/m-p/2025031#M84539</link>
      <description>&lt;P&gt;I have issue with creation of formula&amp;nbsp; including Max and If / Only.&lt;/P&gt;
&lt;P&gt;I want prepare appropratiate measures related to the latest DateOfChange&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is source table:&lt;/P&gt;
&lt;TABLE border="1" width="56.25%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="25%" height="88px"&gt;&lt;STRONG&gt;ProjectName&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="25%" height="88px"&gt;&lt;STRONG&gt;Status&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="25%" height="88px"&gt;&lt;STRONG&gt;DateOfChange&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%" height="25px"&gt;ProjectA&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;Closed&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;2022-12-31&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%" height="25px"&gt;ProjectA&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;Open&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;2019-12-12&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%" height="25px"&gt;ProjectA&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;On hold&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;2020-05-17&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%" height="25px"&gt;ProjectB&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;Open&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;2021-06-05&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%" height="25px"&gt;ProjectB&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;Cancelled&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;2023-01-13&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%" height="25px"&gt;ProjectB&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;On hold&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;2022-07-15&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%" height="32px"&gt;ProjectC&lt;/TD&gt;
&lt;TD width="25%" height="32px"&gt;In progress&lt;/TD&gt;
&lt;TD width="25%" height="32px"&gt;2023-01-02&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%" height="25px"&gt;ProjectC&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;Open&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;2022-01-07&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to gain this result :&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Status for the latest DateOfChange for each ProjectName&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Result should be as below. Please support me with this,&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="33.25031133250312%" height="25px"&gt;ProjectName&lt;/TD&gt;
&lt;TD width="33.25031133250312%" height="25px"&gt;Status&lt;/TD&gt;
&lt;TD width="33.25031133250312%" height="25px"&gt;DateOfChange&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.25031133250312%" height="25px"&gt;ProjectA&lt;/TD&gt;
&lt;TD width="33.25031133250312%" height="25px"&gt;Closed&lt;/TD&gt;
&lt;TD width="33.25031133250312%" height="25px"&gt;2022-12-31&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.25031133250312%" height="25px"&gt;ProjectB&lt;/TD&gt;
&lt;TD width="33.25031133250312%" height="25px"&gt;Cancelled&lt;/TD&gt;
&lt;TD width="33.25031133250312%" height="25px"&gt;2023-01-13&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.25031133250312%" height="25px"&gt;ProjectC&lt;/TD&gt;
&lt;TD width="33.25031133250312%" height="25px"&gt;In progress&lt;/TD&gt;
&lt;TD width="33.25031133250312%" height="25px"&gt;2023-01-02&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Thu, 12 Jan 2023 15:05:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Max-amp-If-Only-in-creation-of-Measure/m-p/2025031#M84539</guid>
      <dc:creator>SingSing16</dc:creator>
      <dc:date>2023-01-12T15:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: Max &amp; If/Only in creation of Measure</title>
      <link>https://community.qlik.com/t5/App-Development/Max-amp-If-Only-in-creation-of-Measure/m-p/2025051#M84542</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/213837"&gt;@SingSing16&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;In a table with ProjectName as dimension:&lt;/P&gt;
&lt;P&gt;Add measure "Status" as below:&lt;/P&gt;
&lt;P&gt;=FirstSortedValue( Status, -DateOfChange )&lt;/P&gt;
&lt;P&gt;Add measure "DateOfChange" as below:&lt;/P&gt;
&lt;P&gt;=Max(&amp;nbsp;DateOfChange&amp;nbsp; )&lt;/P&gt;
&lt;P&gt;I hope it can helps.&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 15:28:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Max-amp-If-Only-in-creation-of-Measure/m-p/2025051#M84542</guid>
      <dc:creator>agigliotti</dc:creator>
      <dc:date>2023-01-12T15:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: Max &amp; If/Only in creation of Measure</title>
      <link>https://community.qlik.com/t5/App-Development/Max-amp-If-Only-in-creation-of-Measure/m-p/2025555#M84573</link>
      <description>&lt;P&gt;Unfortunately I did not receive any value under colmn with this formula&amp;nbsp;&lt;SPAN&gt;=FirstSortedValue( Status, -DateOfChange ).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Do you have any idea why?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank your for your reply.&lt;BR /&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2023 14:51:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Max-amp-If-Only-in-creation-of-Measure/m-p/2025555#M84573</guid>
      <dc:creator>SingSing16</dc:creator>
      <dc:date>2023-01-13T14:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: Max &amp; If/Only in creation of Measure</title>
      <link>https://community.qlik.com/t5/App-Development/Max-amp-If-Only-in-creation-of-Measure/m-p/2025578#M84574</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN class="UserName lia-user-name lia-user-rank-Contributor lia-component-message-view-widget-author-username"&gt;&lt;A id="link_17" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.qlik.com/t5/user/viewprofilepage/user-id/213837" target="_self" aria-label="View Profile of SingSing16" aria-describedby="userProfileCard-213837"&gt;&lt;SPAN class=""&gt;SingSing16&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Contributor lia-component-message-view-widget-author-username"&gt;&lt;SPAN&gt;Make sure you put&amp;nbsp;ProjectName as Dimension and other as Measures.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Contributor lia-component-message-view-widget-author-username"&gt;&lt;SPAN&gt;Dimension:&amp;nbsp;ProjectName&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Contributor lia-component-message-view-widget-author-username"&gt;&lt;SPAN&gt;Measure: FirstSortedValue(Status,-DateOfChange)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Contributor lia-component-message-view-widget-author-username"&gt;&lt;SPAN&gt;Measure: Max(DateOfChange)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Contributor lia-component-message-view-widget-author-username"&gt;&lt;SPAN&gt;The final result right regarding what you needed.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Contributor lia-component-message-view-widget-author-username"&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2023 15:27:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Max-amp-If-Only-in-creation-of-Measure/m-p/2025578#M84574</guid>
      <dc:creator>rui24</dc:creator>
      <dc:date>2023-01-13T15:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: Max &amp; If/Only in creation of Measure</title>
      <link>https://community.qlik.com/t5/App-Development/Max-amp-If-Only-in-creation-of-Measure/m-p/2026520#M84625</link>
      <description>&lt;P&gt;Hello&amp;nbsp; &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/112"&gt;@agigliotti&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/209847"&gt;@rui24&lt;/a&gt;&amp;nbsp;, this solution works after double check. Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2023 10:17:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Max-amp-If-Only-in-creation-of-Measure/m-p/2026520#M84625</guid>
      <dc:creator>SingSing16</dc:creator>
      <dc:date>2023-01-17T10:17:26Z</dc:date>
    </item>
  </channel>
</rss>

