<?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: Check value across two tables and return another value in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Check-value-across-two-tables-and-return-another-value/m-p/2509349#M104702</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/330117"&gt;@Abhi_&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Maybe you can try using the example mapping function:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;This is just an example, so modify it to give the desired result, also follow the documentation for a better understanding of the function:&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/MappingFunctions/ApplyMap.htm" target="_blank"&gt;https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/MappingFunctions/ApplyMap.htm&lt;/A&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;MapSheet2&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;Mapping&lt;BR /&gt;Load&lt;BR /&gt;&lt;SPAN&gt;"Column - CodeSheet2"&lt;/SPAN&gt;,&lt;BR /&gt;&lt;SPAN&gt;statusSheet2&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;Your&lt;SPAN&gt;Sheet 2&lt;/SPAN&gt;;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;TableSheet1:&lt;BR /&gt;Load&lt;BR /&gt;if(&lt;SPAN&gt;statusSheet1&lt;/SPAN&gt;='&lt;SPAN&gt;Delivered&lt;/SPAN&gt;',&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;ApplyMap('&lt;SPAN&gt;MapSheet2&lt;/SPAN&gt;',&lt;SPAN&gt;"Column - CodeSheet1"&lt;/SPAN&gt;),&lt;SPAN&gt;statusSheet1&lt;/SPAN&gt;) as NewStatus,&lt;BR /&gt;&lt;SPAN&gt;"Column - CodeSheet1",&lt;BR /&gt;statusSheet1,&lt;BR /&gt;.....&lt;BR /&gt;&lt;BR /&gt;YourSheet1;&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;- Regards, Matheus&lt;/P&gt;</description>
    <pubDate>Tue, 11 Mar 2025 19:38:04 GMT</pubDate>
    <dc:creator>MatheusC</dc:creator>
    <dc:date>2025-03-11T19:38:04Z</dc:date>
    <item>
      <title>Check value across two tables and return another value</title>
      <link>https://community.qlik.com/t5/App-Development/Check-value-across-two-tables-and-return-another-value/m-p/2509296#M104692</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Please find the attached xlsx as reference for this question.&lt;/P&gt;
&lt;P&gt;As shown in the ref, I have two tables (Sheet 2 and Sheet 1) whose key connector is Column B - Code.&lt;BR /&gt;Each of these codes have two statuses on Sheet 2 column D&amp;nbsp; - Delivered or Not delivered&lt;BR /&gt;And two status on Sheet 1 column D - Used or Not used&lt;/P&gt;
&lt;P&gt;Now what I need to do in Qlik is create a new column (Column E ) on Sheet 2 where&lt;/P&gt;
&lt;P&gt;- If Code on Sheet 2 has status "Not Delivered", then it returns "Not Delivered"&lt;BR /&gt;- If Code on Sheet 2 has status "Delivered", then it checks the status of the same code on Sheet 1 and returns status "Used" or "Not used"&lt;BR /&gt;&lt;BR /&gt;I have done the same on Sheet 2 in ref already. Thanks for your help!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 15:05:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Check-value-across-two-tables-and-return-another-value/m-p/2509296#M104692</guid>
      <dc:creator>Abhi_</dc:creator>
      <dc:date>2025-03-11T15:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: Check value across two tables and return another value</title>
      <link>https://community.qlik.com/t5/App-Development/Check-value-across-two-tables-and-return-another-value/m-p/2509349#M104702</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/330117"&gt;@Abhi_&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Maybe you can try using the example mapping function:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;This is just an example, so modify it to give the desired result, also follow the documentation for a better understanding of the function:&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/MappingFunctions/ApplyMap.htm" target="_blank"&gt;https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/MappingFunctions/ApplyMap.htm&lt;/A&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;MapSheet2&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;Mapping&lt;BR /&gt;Load&lt;BR /&gt;&lt;SPAN&gt;"Column - CodeSheet2"&lt;/SPAN&gt;,&lt;BR /&gt;&lt;SPAN&gt;statusSheet2&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;Your&lt;SPAN&gt;Sheet 2&lt;/SPAN&gt;;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;TableSheet1:&lt;BR /&gt;Load&lt;BR /&gt;if(&lt;SPAN&gt;statusSheet1&lt;/SPAN&gt;='&lt;SPAN&gt;Delivered&lt;/SPAN&gt;',&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;ApplyMap('&lt;SPAN&gt;MapSheet2&lt;/SPAN&gt;',&lt;SPAN&gt;"Column - CodeSheet1"&lt;/SPAN&gt;),&lt;SPAN&gt;statusSheet1&lt;/SPAN&gt;) as NewStatus,&lt;BR /&gt;&lt;SPAN&gt;"Column - CodeSheet1",&lt;BR /&gt;statusSheet1,&lt;BR /&gt;.....&lt;BR /&gt;&lt;BR /&gt;YourSheet1;&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;- Regards, Matheus&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 19:38:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Check-value-across-two-tables-and-return-another-value/m-p/2509349#M104702</guid>
      <dc:creator>MatheusC</dc:creator>
      <dc:date>2025-03-11T19:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: Check value across two tables and return another value</title>
      <link>https://community.qlik.com/t5/App-Development/Check-value-across-two-tables-and-return-another-value/m-p/2509412#M104713</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/330117"&gt;@Abhi_&lt;/a&gt;&amp;nbsp;, you can use If statement with lookup function.&lt;/P&gt;&lt;P&gt;//------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sheet1:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;Reg_Date, Code, Weeknumber, Used or Not&lt;BR /&gt;11-26-2024, 10c, 2024 48, Used&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;Sheet2:&lt;BR /&gt;Load Reg_Date as Sheet2_Reg_Date,&lt;BR /&gt;Code as Sheet2_Code,&lt;BR /&gt;Weeknumber as Sheet2_Weeknumber,&lt;BR /&gt;[Delivered or not],&lt;BR /&gt;If([Delivered or not]='Not Delivered','Not Delivered', lookup('Used or Not', 'Code', Code, 'Sheet1')) as [Final Status Check]&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;BR /&gt;Reg_Date, Code, Weeknumber, Delivered or not&lt;BR /&gt;11-12-2024, 10c, 2024 46, Delivered&lt;BR /&gt;08-21-2025, 10a, 2025 34, Not Delivered&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Exit Script;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;//------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="raju_insights_0-1741763885085.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178417i772D22B31A525133/image-size/medium?v=v2&amp;amp;px=400" role="button" title="raju_insights_0-1741763885085.png" alt="raju_insights_0-1741763885085.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 07:16:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Check-value-across-two-tables-and-return-another-value/m-p/2509412#M104713</guid>
      <dc:creator>rajuamet</dc:creator>
      <dc:date>2025-03-12T07:16:28Z</dc:date>
    </item>
  </channel>
</rss>

