<?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: Help for this data extraction in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-for-this-data-extraction/m-p/1290165#M403523</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It works. The result is this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Cattura.PNG" class="jive-image image-1" height="189" src="https://community.qlik.com/legacyfs/online/156616_Cattura.PNG" style="height: 188.977px; width: 269px;" width="269" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I do the comparison between the fields DataTmp AND DataPratica40 and the fields OraTmp AND OraPratica40? I try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Cattura.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/156621_Cattura.PNG" style="height: 74px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the result is an empty table. I want to get all the practices that have as their last state the State 40 (For Example, I do not want the practice 349 because It have as the last state the State 30, checking the time).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Mar 2017 11:05:47 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-03-17T11:05:47Z</dc:date>
    <item>
      <title>Help for this data extraction</title>
      <link>https://community.qlik.com/t5/QlikView/Help-for-this-data-extraction/m-p/1290162#M403520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi People,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the following code I got these two tables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Minori40.JPG" class="jive-image image-1" height="221" src="https://community.qlik.com/legacyfs/online/156283_Minori40.JPG" style="height: 220.915px; width: 308px;" width="308" /&gt; &lt;IMG alt="40.JPG" class="jive-image image-2" height="29" src="https://community.qlik.com/legacyfs/online/156284_40.JPG" style="height: 28.7137px; width: 346px;" width="346" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="SQL.JPG" class="jive-image image-3" height="78" src="https://community.qlik.com/legacyfs/online/156285_SQL.JPG" style="height: 77.7919px; width: 699px;" width="699" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would take all the practices that have state 40 but did not have a lower state insert after (looking at the date and time). In this case, the control that I want should not return the practice 349 because after the state 40 was added &lt;SPAN style="font-size: 13.3333px;"&gt;an inferior status (30)&lt;/SPAN&gt; more recently .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try this control selecting the practices with state 40 and veryfing if the date of the practices that are minor of 40 are major of the date of the practices that are the state 40 (the same for the time). I think that the reasoning is correct, but the control didn't work (prolly for my mistakes). The code is below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Control.JPG" class="image-4 jive-image" src="https://community.qlik.com/legacyfs/online/156286_Control.JPG" style="height: 49px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QlikView respond that can not find ''DataPratica40'' and ''OraPratica40''.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help me? Sorry for bad English&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Mar 2017 18:49:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-for-this-data-extraction/m-p/1290162#M403520</guid>
      <dc:creator />
      <dc:date>2017-03-14T18:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: Help for this data extraction</title>
      <link>https://community.qlik.com/t5/QlikView/Help-for-this-data-extraction/m-p/1290163#M403521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lorenzo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In fact QV can't find the fields because they do not exist in the 'where' clause that is in the table used as join.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do what you want to do in different ways.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example is: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;TableTmp:&lt;/P&gt;&lt;P&gt;Load FieldNames&lt;/P&gt;&lt;P&gt;Resident Table1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;join (TableTmp)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load FieldNames,&lt;/P&gt;&lt;P&gt;Resident Table2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table Table1, Table2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;Table3:&lt;/P&gt;&lt;P&gt;Load FieldNames&lt;/P&gt;&lt;P&gt;Resident TableTmp&lt;/P&gt;&lt;P&gt;Where Conditions;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table Table3;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, hope it helps&lt;/P&gt;&lt;P&gt;Carlos M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Mar 2017 19:59:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-for-this-data-extraction/m-p/1290163#M403521</guid>
      <dc:creator>CarlosAMonroy</dc:creator>
      <dc:date>2017-03-14T19:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: Help for this data extraction</title>
      <link>https://community.qlik.com/t5/QlikView/Help-for-this-data-extraction/m-p/1290164#M403522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems like &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;"DataPratica40'' and ''OraPratica40''&lt;/STRONG&gt;.&lt;/SPAN&gt;that you are using in your Second Table i.e. from resident table &lt;STRONG&gt;Tabella1&amp;nbsp; &lt;/STRONG&gt;&lt;STRONG style="font-size: 10pt;"&gt;here does not exist&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt;"&gt; Clearly the two fields exist in tabella2. But you are using them from resident tabella1 which is giving you an error &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Mar 2017 20:01:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-for-this-data-extraction/m-p/1290164#M403522</guid>
      <dc:creator>aarkay29</dc:creator>
      <dc:date>2017-03-14T20:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: Help for this data extraction</title>
      <link>https://community.qlik.com/t5/QlikView/Help-for-this-data-extraction/m-p/1290165#M403523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It works. The result is this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Cattura.PNG" class="jive-image image-1" height="189" src="https://community.qlik.com/legacyfs/online/156616_Cattura.PNG" style="height: 188.977px; width: 269px;" width="269" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I do the comparison between the fields DataTmp AND DataPratica40 and the fields OraTmp AND OraPratica40? I try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Cattura.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/156621_Cattura.PNG" style="height: 74px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the result is an empty table. I want to get all the practices that have as their last state the State 40 (For Example, I do not want the practice 349 because It have as the last state the State 30, checking the time).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Mar 2017 11:05:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-for-this-data-extraction/m-p/1290165#M403523</guid>
      <dc:creator />
      <dc:date>2017-03-17T11:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Help for this data extraction</title>
      <link>https://community.qlik.com/t5/QlikView/Help-for-this-data-extraction/m-p/1290166#M403524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lorenzo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I see is that the table result by the join, is not bringing any links between the tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So first try to do a left join instead of the join or concatenate. Do it by the Keys that are the same in both tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Carlos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Mar 2017 15:46:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-for-this-data-extraction/m-p/1290166#M403524</guid>
      <dc:creator>CarlosAMonroy</dc:creator>
      <dc:date>2017-03-17T15:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Help for this data extraction</title>
      <link>https://community.qlik.com/t5/QlikView/Help-for-this-data-extraction/m-p/1290167#M403525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Carlos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before I did this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Cattura.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/156686_Cattura.PNG" style="height: 61px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;If I do a Left Join instead the Join I lost the practice 349 that have the State 40 (that is the one that interests me)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Mar 2017 15:59:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-for-this-data-extraction/m-p/1290167#M403525</guid>
      <dc:creator />
      <dc:date>2017-03-17T15:59:33Z</dc:date>
    </item>
  </channel>
</rss>

