<?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 select the correct fields and values. Don't select a field. Invalid value in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/select-the-correct-fields-and-values-Don-t-select-a-field/m-p/2471063#M99682</link>
    <description>&lt;P&gt;Retest :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(Sum(&amp;nbsp;&lt;/P&gt;
&lt;P&gt;{$&amp;lt;DATE={"&amp;gt;=$(=max(Date_Start))"}, Day=, Month=, Year=&amp;gt;}&lt;BR /&gt;[RE-TEST]))&lt;/P&gt;
&lt;P&gt;Select FX_FixtureID ='20220282'&lt;/P&gt;
&lt;P&gt;Results :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sxbbb_0-1721187703252.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/169443i9F3CFE1E8946A293/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sxbbb_0-1721187703252.png" alt="Sxbbb_0-1721187703252.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;But if FX_FixtureID is not selected, the value is wrong.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sxbbb_1-1721187703232.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/169444iFB196D4D4540FBA9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sxbbb_1-1721187703232.png" alt="Sxbbb_1-1721187703232.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Table&amp;nbsp;RetestReport&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Load&amp;nbsp;FX_FixtureID ,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DATE,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DATE_ARRAY,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;KEY_ARY&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;FROM [source];&lt;BR /&gt;Table Retest&amp;nbsp;&lt;BR /&gt;Load&amp;nbsp;&amp;nbsp;KEY_ARY&amp;nbsp; ,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Retest&amp;nbsp;&lt;BR /&gt;FROM [source];&lt;BR /&gt;Table Header&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Load&amp;nbsp;&amp;nbsp;FX_FixtureID&amp;nbsp; ,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Date(if(IsNull(ET_StartDatetime) ,Date(ET_CreateDate),Date (ET_StartDatetime))) as&amp;nbsp; &amp;nbsp;Date_Start&lt;BR /&gt;FROM [source];&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;The problem I encountered was that I had to select FX_FixtureID to make =max(Date_Start) display. What should I do?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 20:54:45 GMT</pubDate>
    <dc:creator>Sxbbb</dc:creator>
    <dc:date>2024-11-15T20:54:45Z</dc:date>
    <item>
      <title>select the correct fields and values. Don't select a field. Invalid value</title>
      <link>https://community.qlik.com/t5/App-Development/select-the-correct-fields-and-values-Don-t-select-a-field/m-p/2471063#M99682</link>
      <description>&lt;P&gt;Retest :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(Sum(&amp;nbsp;&lt;/P&gt;
&lt;P&gt;{$&amp;lt;DATE={"&amp;gt;=$(=max(Date_Start))"}, Day=, Month=, Year=&amp;gt;}&lt;BR /&gt;[RE-TEST]))&lt;/P&gt;
&lt;P&gt;Select FX_FixtureID ='20220282'&lt;/P&gt;
&lt;P&gt;Results :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sxbbb_0-1721187703252.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/169443i9F3CFE1E8946A293/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sxbbb_0-1721187703252.png" alt="Sxbbb_0-1721187703252.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;But if FX_FixtureID is not selected, the value is wrong.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sxbbb_1-1721187703232.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/169444iFB196D4D4540FBA9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sxbbb_1-1721187703232.png" alt="Sxbbb_1-1721187703232.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Table&amp;nbsp;RetestReport&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Load&amp;nbsp;FX_FixtureID ,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DATE,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DATE_ARRAY,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;KEY_ARY&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;FROM [source];&lt;BR /&gt;Table Retest&amp;nbsp;&lt;BR /&gt;Load&amp;nbsp;&amp;nbsp;KEY_ARY&amp;nbsp; ,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Retest&amp;nbsp;&lt;BR /&gt;FROM [source];&lt;BR /&gt;Table Header&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Load&amp;nbsp;&amp;nbsp;FX_FixtureID&amp;nbsp; ,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Date(if(IsNull(ET_StartDatetime) ,Date(ET_CreateDate),Date (ET_StartDatetime))) as&amp;nbsp; &amp;nbsp;Date_Start&lt;BR /&gt;FROM [source];&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;The problem I encountered was that I had to select FX_FixtureID to make =max(Date_Start) display. What should I do?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 20:54:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/select-the-correct-fields-and-values-Don-t-select-a-field/m-p/2471063#M99682</guid>
      <dc:creator>Sxbbb</dc:creator>
      <dc:date>2024-11-15T20:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: select the correct fields and values. Don't select a field. Invalid value</title>
      <link>https://community.qlik.com/t5/App-Development/select-the-correct-fields-and-values-Don-t-select-a-field/m-p/2471116#M99687</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/199195"&gt;@Sxbbb&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;i think what may help you in this case is creating a field with the max(Date_Start) for each FixtureID rather than using the function in the set analysis, since this should give you the max Date_Start for all FixtureIDs.&lt;/P&gt;
&lt;P&gt;So an option would be an addition to your script like&lt;/P&gt;
&lt;PRE&gt;Left Join(Table Header)&lt;BR /&gt;Load&lt;BR /&gt;FX_FixtureID,&lt;BR /&gt;Max(Date_Start) as Max_Date_Start&lt;BR /&gt;Resident Table Header&lt;BR /&gt;Group By FX_FixtureID;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;and adjusting your set analysis to&lt;/P&gt;
&lt;PRE&gt;{$&amp;lt;DATE={"&amp;gt;=Max_Date_Start"}, Day=, Month=, Year=&amp;gt;}&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;Let me know if this works for you!&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2024 08:41:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/select-the-correct-fields-and-values-Don-t-select-a-field/m-p/2471116#M99687</guid>
      <dc:creator>lennart_mo</dc:creator>
      <dc:date>2024-07-17T08:41:10Z</dc:date>
    </item>
  </channel>
</rss>

