<?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: how to save my data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-save-my-data/m-p/819193#M288820</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you should see Hierarchy and HierarchyBelongsTo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//example data&lt;/P&gt;&lt;P&gt;t1:&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp; * Inline [&lt;/P&gt;&lt;P&gt;NodeID, ParentID, NodeName, TimeLength&lt;/P&gt;&lt;P&gt;1,, Task 1, 10&lt;/P&gt;&lt;P&gt;2,1, Task 1.1, 12&lt;/P&gt;&lt;P&gt;3,1, Task 1.2, 2&lt;/P&gt;&lt;P&gt;4, 2, Task 1.1.1, 4&lt;/P&gt;&lt;P&gt;5, 4, Task 1.1.1.1, 5&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//for your first question:&lt;/P&gt;&lt;P&gt;//field NodeName is your selected task&lt;/P&gt;&lt;P&gt;// field ParentName are its previos tasks&lt;/P&gt;&lt;P&gt;t2:&lt;/P&gt;&lt;P&gt;HierarchyBelongsTo (NodeID, ParentID, NodeName, Tree, ParentName) LOAD&lt;/P&gt;&lt;P&gt;NodeID,&lt;/P&gt;&lt;P&gt;ParentID,&lt;/P&gt;&lt;P&gt;NodeName&lt;/P&gt;&lt;P&gt;Resident&lt;/P&gt;&lt;P&gt;&amp;nbsp; t1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table t1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/82350_pastedImage_5.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;//for your second question:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;// you can&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;//t2:&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;//Hierarchy(NodeID, ParentID, NodeName,ParentName,NodeName, Task, '/') LOAD&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;//NodeID,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;//ParentID,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;//NodeName,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;//TimeLength&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;//Resident&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;// t1;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;IMG class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/82351_pastedImage_6.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Btw, I don't now how to use both ways for your model&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Mar 2015 12:41:10 GMT</pubDate>
    <dc:creator>pokassov</dc:creator>
    <dc:date>2015-03-30T12:41:10Z</dc:date>
    <item>
      <title>how to save my data</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-save-my-data/m-p/819190#M288817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;I need&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;to model&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;data&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;from MS project.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt; I have &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;a problem - how to save the data of the dependencies between tasks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt; I have a table-&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;PREV TASK&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;CURRENT TASK&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;i need that if im selecting one of ny tasks i wiil see-&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;1. all the tasks that must be before&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;2. all the tasks that this task is "pushing"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;how should i save my data?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;adi&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 11:03:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-save-my-data/m-p/819190#M288817</guid>
      <dc:creator>adiarnon</dc:creator>
      <dc:date>2015-03-30T11:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to save my data</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-save-my-data/m-p/819191#M288818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi adi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know how your data is organised in the DB .&lt;/P&gt;&lt;P&gt;if you have all the details in a single table then its very easy, just pull the data and store it an QVD so that it will have the previous and next task as columns. If not make it as 3 different tables i.e the previous task details, next task details with the primary key for it .&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 11:50:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-save-my-data/m-p/819191#M288818</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2015-03-30T11:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: how to save my data</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-save-my-data/m-p/819192#M288819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please attach an example?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 12:02:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-save-my-data/m-p/819192#M288819</guid>
      <dc:creator />
      <dc:date>2015-03-30T12:02:42Z</dc:date>
    </item>
    <item>
      <title>Re: how to save my data</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-save-my-data/m-p/819193#M288820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you should see Hierarchy and HierarchyBelongsTo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//example data&lt;/P&gt;&lt;P&gt;t1:&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp; * Inline [&lt;/P&gt;&lt;P&gt;NodeID, ParentID, NodeName, TimeLength&lt;/P&gt;&lt;P&gt;1,, Task 1, 10&lt;/P&gt;&lt;P&gt;2,1, Task 1.1, 12&lt;/P&gt;&lt;P&gt;3,1, Task 1.2, 2&lt;/P&gt;&lt;P&gt;4, 2, Task 1.1.1, 4&lt;/P&gt;&lt;P&gt;5, 4, Task 1.1.1.1, 5&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//for your first question:&lt;/P&gt;&lt;P&gt;//field NodeName is your selected task&lt;/P&gt;&lt;P&gt;// field ParentName are its previos tasks&lt;/P&gt;&lt;P&gt;t2:&lt;/P&gt;&lt;P&gt;HierarchyBelongsTo (NodeID, ParentID, NodeName, Tree, ParentName) LOAD&lt;/P&gt;&lt;P&gt;NodeID,&lt;/P&gt;&lt;P&gt;ParentID,&lt;/P&gt;&lt;P&gt;NodeName&lt;/P&gt;&lt;P&gt;Resident&lt;/P&gt;&lt;P&gt;&amp;nbsp; t1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table t1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/82350_pastedImage_5.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;//for your second question:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;// you can&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;//t2:&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;//Hierarchy(NodeID, ParentID, NodeName,ParentName,NodeName, Task, '/') LOAD&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;//NodeID,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;//ParentID,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;//NodeName,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;//TimeLength&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;//Resident&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;// t1;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;IMG class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/82351_pastedImage_6.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Btw, I don't now how to use both ways for your model&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 12:41:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-save-my-data/m-p/819193#M288820</guid>
      <dc:creator>pokassov</dc:creator>
      <dc:date>2015-03-30T12:41:10Z</dc:date>
    </item>
  </channel>
</rss>

