<?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: Data modeling and association of data in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Data-modeling-and-association-of-data/m-p/2103855#M90163</link>
    <description>&lt;P&gt;Your scripts look ok. Except I observed that you comment key field in your script. Any specific reason for that?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, Can you explain you issue with Sample data?&lt;/P&gt;</description>
    <pubDate>Wed, 09 Aug 2023 07:40:03 GMT</pubDate>
    <dc:creator>PrashantSangle</dc:creator>
    <dc:date>2023-08-09T07:40:03Z</dc:date>
    <item>
      <title>Data modeling and association of data</title>
      <link>https://community.qlik.com/t5/App-Development/Data-modeling-and-association-of-data/m-p/2103814#M90160</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;so i have three table idea demand and project , and once idea submitted it changes to demand and then to project so i want all the data sync and i want no duplictes in the sheet. it should consider the lates status like if idea is changed to demand and then to project it should give us the recent start by project date not the idea or demand date and if status is completed for idea but in progress for demand it should give us that status for demand not idea.&lt;/P&gt;
&lt;P&gt;while i apply join to combine all the table i could see duplicte demand and duplicate project&lt;/P&gt;
&lt;P&gt;Idea:&lt;BR /&gt;LOAD&lt;BR /&gt;idea_number,&lt;BR /&gt;// dmnd_number,&lt;BR /&gt;idea_sys_id,&lt;BR /&gt;idea_sys_created_by,&lt;BR /&gt;user_name,&lt;BR /&gt;idea_short_description,&lt;BR /&gt;idea_u_business_area_group,&lt;BR /&gt;idea_u_business_area,&lt;BR /&gt;idea_state,&lt;BR /&gt;if(idea_state = '1' or idea_state = '2' or idea_state = '-5','Submitted' ,&lt;BR /&gt;if(idea_state = '3','Completed',&lt;BR /&gt;if(idea_state ='7','rejected'))) as Status,&lt;BR /&gt;idea_sys_created_on,&lt;BR /&gt;dmnd_sys_created_on as idea_dmnd_sys_created_on&lt;BR /&gt;FROM [lib://Intake Dashboard Files/idea_demand_01.QVD]&lt;BR /&gt;(qvd)&lt;BR /&gt;where idea_sys_created_on &amp;gt;= '2023-01-01 00:00:00' ;&lt;BR /&gt;//and dmnd_sys_created_on &amp;gt;= '2023-01-01 00:00:00';&lt;BR /&gt;outer join (Idea_01)&lt;BR /&gt;Demand:&lt;BR /&gt;LOAD&lt;BR /&gt;dmnd_number,&lt;BR /&gt;// prj_number,&lt;BR /&gt;dmnd_state, &lt;BR /&gt;dmnd_start_date as start_date, &lt;BR /&gt;if(dmnd_state = '1' or dmnd_state = '2' ,'submitted' ,&lt;BR /&gt;if(dmnd_state = '9' ,'completed',&lt;BR /&gt;if(dmnd_state ='3' or dmnd_state = '-4','under_review',&lt;BR /&gt;if(dmnd_state = '8','in_progress',&lt;BR /&gt;if (dmnd_state ='7' or dmnd_state = '10' or dmnd_state = '5','rejected')))))as Status,&lt;BR /&gt;u_opid_id_dmnd,&lt;BR /&gt;dmnd_sys_created_by,&lt;BR /&gt;__KEY_result&lt;BR /&gt;FROM [lib://Intake Dashboard Files/demand_project_01.QVD]&lt;BR /&gt;(qvd)&lt;BR /&gt;where dmnd_sys_created_on &amp;gt;= '2023-01-01 00:00:00';&lt;BR /&gt;//and prj_sys_created_on &amp;gt;= '2023-01-01 00:00:00';&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;outer join (Idea_01)&lt;BR /&gt;Project:&lt;BR /&gt;LOAD&lt;BR /&gt;prj_number,&lt;BR /&gt;prj_state,&lt;BR /&gt;prj_start_date as start_date,&lt;BR /&gt;prj_end_date as end_date,&lt;BR /&gt;sys_created_on as project_sys_created_on,&lt;BR /&gt;__KEY_result,&lt;BR /&gt;u_opid_id_prj,&lt;BR /&gt;if(num(prj_state) = 1 or num(prj_state) = 2 or num(prj_state) = -5,'in_progress',&lt;BR /&gt;if(num(prj_state)= 4 or num(prj_state)= 7 or num(prj_state) =15 ,'rejected',&lt;BR /&gt;if(num(prj_state) = 3,'completed'))) as Status&lt;BR /&gt;&lt;BR /&gt;FROM [lib://Intake Dashboard Files/project_01.QVD]&lt;BR /&gt;(qvd)&lt;BR /&gt;where sys_created_on &amp;gt;= '2023-01-01 00:00:00';&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Sys_USer:&lt;BR /&gt;LOAD&lt;BR /&gt;u_opid_id,&lt;BR /&gt;user_name,&lt;BR /&gt;test_username,&lt;BR /&gt;sys_id,&lt;BR /&gt;first_name,&lt;BR /&gt;last_name,&lt;BR /&gt;full_name,&lt;BR /&gt;//sys_created_on,&lt;BR /&gt;email&lt;BR /&gt;FROM [lib://Intake Dashboard Files/Sys_User_01.QVD]&lt;BR /&gt;(qvd);&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:30:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Data-modeling-and-association-of-data/m-p/2103814#M90160</guid>
      <dc:creator>ritumishra01</dc:creator>
      <dc:date>2024-11-15T21:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: Data modeling and association of data</title>
      <link>https://community.qlik.com/t5/App-Development/Data-modeling-and-association-of-data/m-p/2103855#M90163</link>
      <description>&lt;P&gt;Your scripts look ok. Except I observed that you comment key field in your script. Any specific reason for that?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, Can you explain you issue with Sample data?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 07:40:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Data-modeling-and-association-of-data/m-p/2103855#M90163</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2023-08-09T07:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: Data modeling and association of data</title>
      <link>https://community.qlik.com/t5/App-Development/Data-modeling-and-association-of-data/m-p/2103857#M90164</link>
      <description>&lt;P&gt;I am getting duplicate records for demand and project .&lt;/P&gt;
&lt;P&gt;how to get rid of duplicate records abd get the most recent status out of all the three table and most receng start and end date&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 07:43:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Data-modeling-and-association-of-data/m-p/2103857#M90164</guid>
      <dc:creator>ritumishra01</dc:creator>
      <dc:date>2023-08-09T07:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: Data modeling and association of data</title>
      <link>https://community.qlik.com/t5/App-Development/Data-modeling-and-association-of-data/m-p/2103923#M90168</link>
      <description>&lt;P&gt;without data difficult to predict&amp;nbsp; the solution.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 09:27:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Data-modeling-and-association-of-data/m-p/2103923#M90168</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2023-08-09T09:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: Data modeling and association of data</title>
      <link>https://community.qlik.com/t5/App-Development/Data-modeling-and-association-of-data/m-p/2103930#M90169</link>
      <description>&lt;P&gt;For so far I can see, you are use a join only on status. I you only want to have one record, you need to join on another field.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 09:40:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Data-modeling-and-association-of-data/m-p/2103930#M90169</guid>
      <dc:creator>woutermak</dc:creator>
      <dc:date>2023-08-09T09:40:55Z</dc:date>
    </item>
  </channel>
</rss>

