<?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: QlikView Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QlikView-Table/m-p/1926528#M1218800</link>
    <description>&lt;P&gt;Second solution:&lt;/P&gt;
&lt;P&gt;You can use set analysis to show necessary data in the charts, for instance:&lt;/P&gt;
&lt;P&gt;Expression:&lt;/P&gt;
&lt;P&gt;SUM({&amp;lt;UserMaxStage={3}, date={"&amp;gt;=2022-02-01"}&amp;gt;}value)&lt;/P&gt;
&lt;P&gt;will show the same data in the chart as a condition:&lt;/P&gt;
&lt;P&gt;IF(UserMaxStage = 3 and date &amp;gt;= '2022-02-01', value) as value&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Vitalii&lt;/P&gt;</description>
    <pubDate>Wed, 04 May 2022 20:45:45 GMT</pubDate>
    <dc:creator>vchuprina</dc:creator>
    <dc:date>2022-05-04T20:45:45Z</dc:date>
    <item>
      <title>QlikView Table</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Table/m-p/1923945#M1218684</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;
&lt;P&gt;I have a table and I would like to include only user ids that reached Stage 3(users can go into Stage 1, then Stage 2 and so on, but it's possible a user stages stops at Stage 2. however, I would like to make sure I have only users who went to Stage&amp;nbsp; 1, Stage 2 and Stage 3). One user can't get to Stage 3 without going into Stage 1 and then Stage 2.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stage.PNG" style="width: 470px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/78177i5FA13602B735F705/image-size/large?v=v2&amp;amp;px=999" role="button" title="stage.PNG" alt="stage.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 12:23:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Table/m-p/1923945#M1218684</guid>
      <dc:creator>oanalung</dc:creator>
      <dc:date>2022-04-28T12:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Table</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Table/m-p/1924040#M1218685</link>
      <description>&lt;P&gt;Is it related to the script or the UI?&lt;/P&gt;
&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 13:50:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Table/m-p/1924040#M1218685</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2022-04-28T13:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Table</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Table/m-p/1924042#M1218686</link>
      <description>&lt;P&gt;hi, not sure if it can be done in the UI, I guess only in the script.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to select users that went to all 3 stages and make sure only those users will be visible in that Table Box.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 13:51:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Table/m-p/1924042#M1218686</guid>
      <dc:creator>oanalung</dc:creator>
      <dc:date>2022-04-28T13:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Table</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Table/m-p/1924055#M1218688</link>
      <description>&lt;P&gt;Both ways should be possible - in script:&lt;/P&gt;
&lt;P&gt;temp: load distinct UserID from X where stage = 'Stage3';&lt;/P&gt;
&lt;P&gt;final: load *, exists(UserID) as StageFlag from X;&lt;/P&gt;
&lt;P&gt;and the flag could be then used as selection or set analysis condition.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Within the UI you may also apply something like this:&lt;/P&gt;
&lt;P&gt;count({&amp;lt; UserID = p({&amp;lt; stage = {'Stage3'}&amp;gt;} UserID)&amp;gt;} UserName)&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 14:13:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Table/m-p/1924055#M1218688</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2022-04-28T14:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Table</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Table/m-p/1924076#M1218691</link>
      <description>&lt;P&gt;I already have this in the script.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Load&amp;nbsp;&lt;/P&gt;
&lt;P&gt;user_id as [User ID],&lt;/P&gt;
&lt;P&gt;user_name as [User Name]&lt;/P&gt;
&lt;P&gt;stage as [Stage],&lt;/P&gt;
&lt;P&gt;date as [Date];&lt;/P&gt;
&lt;P&gt;SQL&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SELECT&amp;nbsp;&lt;/P&gt;
&lt;P&gt;user_id,&lt;/P&gt;
&lt;P&gt;username,&lt;/P&gt;
&lt;P&gt;stage,&lt;/P&gt;
&lt;P&gt;date&amp;nbsp;&lt;/P&gt;
&lt;P&gt;from table_name; //data extracting from Redshift&lt;/P&gt;
&lt;P&gt;Should this go before my script?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 14:44:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Table/m-p/1924076#M1218691</guid>
      <dc:creator>oanalung</dc:creator>
      <dc:date>2022-04-28T14:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Table</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Table/m-p/1924092#M1218693</link>
      <description>&lt;P&gt;By using exists() the load-order within the script is important because the check happens against all already loaded field-values. This means you need to control the load-order whereby they mustn't be mandatory changed because you could also use a (multiples) renaming of the field and/or using exists() with two parameters. In regard to my example from above it may look like:&lt;/P&gt;
&lt;P&gt;temp: load distinct UserID as &lt;STRONG&gt;UserIDForExists&lt;/STRONG&gt; from X where stage = 'Stage3';&lt;/P&gt;
&lt;P&gt;final: load *, exists(&lt;STRONG&gt;UserIDForExists, UserID&lt;/STRONG&gt;) as StageFlag from X;&lt;/P&gt;
&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 14:53:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Table/m-p/1924092#M1218693</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2022-04-28T14:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Table</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Table/m-p/1924099#M1218695</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;You can add this after your load to get a flag&lt;/P&gt;
&lt;P&gt;Left Join(&lt;STRONG&gt;YOUR table&lt;/STRONG&gt;)&lt;BR /&gt;Flag:&lt;BR /&gt;LOAD Distinct&lt;BR /&gt;UserID,&lt;BR /&gt;'1' AS StageFlag&lt;BR /&gt;Resident&lt;STRONG&gt; YOUR table&lt;/STRONG&gt;&lt;BR /&gt;Where Stage= 'Stage3'&lt;BR /&gt;;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Vitalii&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 15:04:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Table/m-p/1924099#M1218695</guid>
      <dc:creator>vchuprina</dc:creator>
      <dc:date>2022-04-28T15:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Table</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Table/m-p/1925640#M1218761</link>
      <description>&lt;P&gt;This can work, but it will also include users who reached Stage 4 - but I only want users who reached Stage 3 and stopped there.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 12:52:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Table/m-p/1925640#M1218761</guid>
      <dc:creator>oanalung</dc:creator>
      <dc:date>2022-05-03T12:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Table</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Table/m-p/1925662#M1218762</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;In this case try this, first you need to find max stage and then use it as a Filter&lt;/P&gt;
&lt;P&gt;Left Join([YOUR table])&lt;BR /&gt;Flag:&lt;BR /&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UserID,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 as StageFlag&lt;BR /&gt;Where MaxStage = 'Stage3';&lt;BR /&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UserID,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Max(Stage) AS MaxStage&lt;BR /&gt;Resident&amp;nbsp;[YOUR table]&lt;BR /&gt;Group By UserID&lt;BR /&gt;;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Vitalii&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 13:07:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Table/m-p/1925662#M1218762</guid>
      <dc:creator>vchuprina</dc:creator>
      <dc:date>2022-05-03T13:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Table</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Table/m-p/1925736#M1218765</link>
      <description>&lt;P&gt;This is actually working, can this be achieved to create another pivot table where I can include only users that have reached Stage 4? (mentioning that a user can go above Stage 4 like Stage 5, Stage 6)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I do another join where max(stage)=stage 4 is not working&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 14:50:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Table/m-p/1925736#M1218765</guid>
      <dc:creator>oanalung</dc:creator>
      <dc:date>2022-05-03T14:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Table</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Table/m-p/1925897#M1218768</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Looks like you have spaces in the stage field, so first, you should prepare your data, for instance, remove text and spaces.&lt;/P&gt;
&lt;P&gt;Try the following:&lt;/P&gt;
&lt;P&gt;//Create a new field that contains only the numeric part of the stage field&lt;BR /&gt;Data:&lt;BR /&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; KeepChar(stage, '0123456789 ') AS StageNum; &lt;BR /&gt;&lt;STRONG&gt;Load&lt;/STRONG&gt; * inline [&lt;BR /&gt;UserID,UserName,date,stage&lt;BR /&gt;1, abc, 2022-01-01, Stage1&lt;BR /&gt;1, abc, 2022-02-01, Stage2&lt;BR /&gt;1, abc, 2022-05-01, Stage3&lt;BR /&gt;1, abc, 2022-05-01, Stage4&lt;BR /&gt;2, hgb, 2022-01-01, Stage1&lt;BR /&gt;2, hgb, 2022-02-01, Stage2&lt;BR /&gt;2, hgb, 2022-05-01, Stage3&lt;BR /&gt;2, hgb, 2022-05-01, Stage 4&lt;BR /&gt;3, hgh, 2022-01-01, Stage1&lt;BR /&gt;3, hgh, 2022-02-01, Stage2&lt;BR /&gt;3, hgh, 2022-05-01, Stage3&lt;BR /&gt;4, gdf, 2022-05-01, Stage 1&lt;BR /&gt;];&lt;BR /&gt;&lt;BR /&gt;//Find max StageNum for each user&lt;BR /&gt;//Join UserMaxStage to Data table&lt;BR /&gt;//UserMaxStage can be used as a filter in set analysis&lt;BR /&gt;Left Join(Data)&lt;BR /&gt;MaxStage:&lt;BR /&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UserID,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Max(StageNum) AS UserMaxStage&lt;BR /&gt;Resident Data&lt;BR /&gt;Group By UserID;&lt;BR /&gt;&lt;BR /&gt;//Drop StageNum field from the Data Model&lt;BR /&gt;&lt;STRONG&gt;DROP&lt;/STRONG&gt; FIELD StageNum;&lt;/P&gt;
&lt;P&gt;Result:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vchuprina_0-1651610414988.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/78558iC59A7F7509295587/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vchuprina_0-1651610414988.png" alt="vchuprina_0-1651610414988.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;with selected value:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vchuprina_1-1651610475433.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/78559iB4E228BEECD3DD1C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vchuprina_1-1651610475433.png" alt="vchuprina_1-1651610475433.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Vitalii&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 20:38:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Table/m-p/1925897#M1218768</guid>
      <dc:creator>vchuprina</dc:creator>
      <dc:date>2022-05-03T20:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Table</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Table/m-p/1926507#M1218797</link>
      <description>&lt;P&gt;it worked with this and creating another values for that Flag:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Left Join([YOUR table])&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Flag:&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UserID,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(MaxStage=3 ,1&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(MaxStage=4,2)) as Stage Flag);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Load&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;UserId&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;max(stage) as MaxStage&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Resident(your table)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;group by UserId&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;but if I want to add another condition in one of the if(like date&amp;gt;'2000-01-01') and I add the date in my Load, it needs to be added in the group by and it looks like it's changing the number of rows in all my reports.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;any idea how to avoid that? I just want to build another value for that Flag(ex:5, when stage=5 and date follows a condition)&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;thank you&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;Where MaxStage = 'Stage3';&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UserID,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Max(Stage) AS MaxStage&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Resident&amp;nbsp;[YOUR table]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Group By UserID&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 19:08:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Table/m-p/1926507#M1218797</guid>
      <dc:creator>oanalung</dc:creator>
      <dc:date>2022-05-04T19:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Table</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Table/m-p/1926526#M1218799</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;First solution&lt;/P&gt;
&lt;P&gt;Once you join the UserMaxStage field to the DataTMP table you can make resident load and add any flag that you need based on date and UserMaxStage fields&lt;/P&gt;
&lt;P&gt;DataTMP:&lt;BR /&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; KeepChar(stage, '0123456789 ') AS StageNum;&lt;BR /&gt;&lt;STRONG&gt;Load&lt;/STRONG&gt; * inline [&lt;BR /&gt;UserID,UserName,date,stage&lt;BR /&gt;1, abc, 2022-01-01, Stage1&lt;BR /&gt;1, abc, 2022-02-01, Stage2&lt;BR /&gt;1, abc, 2022-05-01, Stage3&lt;BR /&gt;1, abc, 2022-05-01, Stage4&lt;BR /&gt;2, hgb, 2022-01-01, Stage1&lt;BR /&gt;2, hgb, 2022-02-01, Stage2&lt;BR /&gt;2, hgb, 2022-05-01, Stage3&lt;BR /&gt;2, hgb, 2022-05-01, Stage 4&lt;BR /&gt;3, hgh, 2022-01-01, Stage1&lt;BR /&gt;3, hgh, 2022-02-01, Stage2&lt;BR /&gt;3, hgh, 2022-05-01, Stage3&lt;BR /&gt;4, gdf, 2022-05-01, Stage 1&lt;BR /&gt;];&lt;BR /&gt;&lt;BR /&gt;//Find max StageNum for each user&lt;BR /&gt;//Join UserMaxStage to Data table&lt;BR /&gt;//UserMaxStage can be used as a filter in set analysis&lt;BR /&gt;Left Join(DataTMP)&lt;BR /&gt;MaxStage:&lt;BR /&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UserID,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Max(StageNum) AS UserMaxStage&lt;BR /&gt;Resident DataTMP&lt;BR /&gt;Group By UserID;&lt;BR /&gt;&lt;BR /&gt;//Drop StageNum field from the Data Model&lt;BR /&gt;&lt;STRONG&gt;DROP&lt;/STRONG&gt; FIELD StageNum;&lt;BR /&gt;&lt;BR /&gt;Data:&lt;BR /&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UserID,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UserName,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; stage,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UserMaxStage,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(UserMaxStage = 4 and date&amp;gt; '2000-01-01', 1, 0) AS SomeFlag&lt;BR /&gt;Resident DataTMP;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;DROP&lt;/STRONG&gt; TABLE DataTMP;&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 20:35:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Table/m-p/1926526#M1218799</guid>
      <dc:creator>vchuprina</dc:creator>
      <dc:date>2022-05-04T20:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Table</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Table/m-p/1926528#M1218800</link>
      <description>&lt;P&gt;Second solution:&lt;/P&gt;
&lt;P&gt;You can use set analysis to show necessary data in the charts, for instance:&lt;/P&gt;
&lt;P&gt;Expression:&lt;/P&gt;
&lt;P&gt;SUM({&amp;lt;UserMaxStage={3}, date={"&amp;gt;=2022-02-01"}&amp;gt;}value)&lt;/P&gt;
&lt;P&gt;will show the same data in the chart as a condition:&lt;/P&gt;
&lt;P&gt;IF(UserMaxStage = 3 and date &amp;gt;= '2022-02-01', value) as value&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Vitalii&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 20:45:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Table/m-p/1926528#M1218800</guid>
      <dc:creator>vchuprina</dc:creator>
      <dc:date>2022-05-04T20:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Table</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Table/m-p/1926635#M1218806</link>
      <description>&lt;P&gt;It's not a solution for me to use Load INLINE,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;is there a way to keep my preceding load and left join with flag table?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tried loading the user id, date into another LOAD but it doesn't work&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 07:16:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Table/m-p/1926635#M1218806</guid>
      <dc:creator>oanalung</dc:creator>
      <dc:date>2022-05-05T07:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Table</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Table/m-p/1926641#M1218807</link>
      <description>&lt;P&gt;I use inline just for example because I don't have your data source.&lt;/P&gt;
&lt;P&gt;I guess you should just replace the Inline table with your data source.&lt;/P&gt;
&lt;P&gt;For instance, if your data source is an excel file then replace inline load&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;DataTMP:&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; KeepChar(stage, '0123456789 ') AS StageNum;&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Load&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;* inline [&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;UserID,UserName,date,stage&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1, abc, 2022-01-01, Stage1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1, abc, 2022-02-01, Stage2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1, abc, 2022-05-01, Stage3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1, abc, 2022-05-01, Stage4&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2, hgb, 2022-01-01, Stage1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2, hgb, 2022-02-01, Stage2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2, hgb, 2022-05-01, Stage3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2, hgb, 2022-05-01, Stage 4&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3, hgh, 2022-01-01, Stage1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3, hgh, 2022-02-01, Stage2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3, hgh, 2022-05-01, Stage3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4, gdf, 2022-05-01, Stage 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;];&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;By&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;DataTmp:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt; &lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;UserID,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;UserName,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;date,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;stage,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;KeepChar(stage, '0123456789 ') AS StageNum&lt;BR /&gt;FROM&lt;BR /&gt;[C:\Users\chuprynav\Downloads\Example.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is [Sheet1]);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Vitalii&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 07:25:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Table/m-p/1926641#M1218807</guid>
      <dc:creator>vchuprina</dc:creator>
      <dc:date>2022-05-05T07:25:51Z</dc:date>
    </item>
  </channel>
</rss>

