<?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 Using multiple fields to determine another field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-multiple-fields-to-determine-another-field/m-p/230251#M82103</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;&lt;BR /&gt;MAP&lt;BR /&gt;&lt;/B&gt;&lt;B&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/B&gt;&lt;BR /&gt; Interaction2 using&lt;BR /&gt; CALLID;&lt;B&gt;&lt;BR /&gt;MAP&lt;BR /&gt;&lt;/B&gt;&lt;B&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/B&gt;&lt;BR /&gt; Interaction3 using&lt;BR /&gt; OUTLETSMAP;&lt;BR /&gt;[DEAL INFO]:&lt;B&gt;&lt;BR /&gt;SQL&lt;BR /&gt;&lt;/B&gt;&lt;B&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt; SELECT CaptureUser as [Sales Person],&lt;BR /&gt;CaptureFranchise,&lt;BR /&gt;"Delivery Method",&lt;BR /&gt;DealCompleteDate,&lt;BR /&gt;DealSequenceNo as TimeDeal,&lt;BR /&gt;DealSequenceNo as WorkflowDeal,&lt;BR /&gt;DealStartDate,&lt;BR /&gt;"Deal Type",&lt;BR /&gt;Interaction1,&lt;BR /&gt;Interaction2,&lt;BR /&gt;Interaction3&lt;BR /&gt;FROM CactusDataStore.AdHoc."QV_DealTimeCTQ_DealData";&lt;BR /&gt;JOIN&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; ([DEAL INFO])&lt;B&gt;&lt;BR /&gt;LOAD&lt;BR /&gt;&lt;/B&gt;&lt;B&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/B&gt;&lt;BR /&gt; if(Interaction1='Y','Online',if(Interaction2='In Store','In Store',if(Interaction3='Y','In Store','Other'))) as&lt;BR /&gt;[Interaction Type]&lt;BR /&gt;Resident&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; [DEAL INFO];&lt;BR /&gt;[\code]&amp;lt;/body&amp;gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Feb 2011 13:50:25 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-02-25T13:50:25Z</dc:date>
    <item>
      <title>Using multiple fields to determine another field</title>
      <link>https://community.qlik.com/t5/QlikView/Using-multiple-fields-to-determine-another-field/m-p/230245#M82097</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;/P&gt;&lt;P&gt;I have three fileds in my sql table that I extracted. These three tables combined, will actually determine an new field and I need to find the best way to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My three fields is Interaction1, Interaction2 and Interaction3. The rules that will determine my fourth field, called Interaction Type, are as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;DIV style="padding-left: 30px;"&gt;If Interaction1 = Y, then the Interaction Type = Online (This is the first check and it doesn't matter what Interaction2 and 3 is)&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;DIV style="padding-left: 30px;"&gt;If Interaction2 = In Store, then the Interaction Type = In Store&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;DIV style="padding-left: 30px;"&gt;If Interaction3 = Y, then the Interaction Type = In Store&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;DIV style="padding-left: 30px;"&gt;Else the Interaction Type = Other&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to do this in a nested if statement when I populate my table, but I am getting an error stating that it doesn't recognise the syntax near the if?? See the script below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[DEAL INFO]:&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;SQL&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;SELECT CaptureUser, &lt;P&gt;"Collection_Type",&lt;/P&gt;&lt;P&gt;DealCompleteDate,&lt;/P&gt;&lt;P&gt;DealSequenceNo,&lt;/P&gt;&lt;P&gt;DealStartDate,&lt;/P&gt;&lt;P&gt;DealType AS [Deal Type],&lt;/P&gt;&lt;P&gt;Interaction1,&lt;/P&gt;&lt;P&gt;"Call_Id" as Interaction2,&lt;/P&gt;&lt;P&gt;CaptureFranchise as Interaction3,&lt;/P&gt;&lt;P&gt;if(Interaction1='Y','Online',if(Interaction2='In Store','In Store',if(Interaction3='Y','In Store','Other')))&lt;/P&gt;&lt;P&gt;FROM CactusDataStore.AdHoc."QV_DealTimeCTQ_DealData";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;So, I went to plan B and tried to make an Inline table with the three interactions and based on the combination it should pick up the interaction type as follows:&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Star&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;LOAD&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;* INLINE [ is *; &lt;P&gt;[INTERACTION TYPES]:&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Interaction1, Interaction2, Interaction3, Interaction Type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Y,*,*,Online&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;N,In Store,*,In Store&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;N,*,Y,In Store&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;N,*,*,Other&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;This is almost working, but I realized that it doesn't do all the data reductions to all the tables?? I think it has something to do with the other fields that are still seen as ALL values?&lt;/P&gt;&lt;P&gt;Please assist. . .&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Feb 2011 08:53:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-multiple-fields-to-determine-another-field/m-p/230245#M82097</guid>
      <dc:creator />
      <dc:date>2011-02-25T08:53:46Z</dc:date>
    </item>
    <item>
      <title>Using multiple fields to determine another field</title>
      <link>https://community.qlik.com/t5/QlikView/Using-multiple-fields-to-determine-another-field/m-p/230246#M82098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Use the precedent load&lt;/P&gt;&lt;P style="font-weight: bold"&gt;like&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Load&lt;/B&gt;&lt;/P&gt;&lt;P&gt;CaptureUser,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"Collection_Type",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DealCompleteDate,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DealSequenceNo,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DealStartDate,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DealType AS [Deal Type],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Interaction1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"Call_Id" as Interaction2,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CaptureFranchise as Interaction3,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(Interaction1='Y','Online',if(Interaction2='In Store','In Store',if(Interaction3='Y','In Store','Other'))) as NewFiled;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sql select * from CactusDataStore.AdHoc."QV_DealTimeCTQ_DealData";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use this&lt;/P&gt;&lt;P&gt;and let me know the status.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Feb 2011 09:37:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-multiple-fields-to-determine-another-field/m-p/230246#M82098</guid>
      <dc:creator>maneshkhottcpl</dc:creator>
      <dc:date>2011-02-25T09:37:11Z</dc:date>
    </item>
    <item>
      <title>Using multiple fields to determine another field</title>
      <link>https://community.qlik.com/t5/QlikView/Using-multiple-fields-to-determine-another-field/m-p/230247#M82099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you, it did help to a certain extend, but I am actually also applying a Map to the to interactions before I create the table, and this is now causing the if statement to not work properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to do a join to the table afterwards just for the if, but then my computer bombs out and I get an error to say that it is out of vertual memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there maybe a better way of doing it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See below my script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;MAP&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;MAP&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;SQL&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JOIN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;([DEAL INFO])&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;LOAD&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Resident&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[DEAL INFO];&lt;/P&gt;if(Interaction1='Y','Online',if(Interaction2='In Store','In Store',if(Interaction3='Y','In Store','Other'))) as [Interaction Type] SELECT CaptureUser as [Sales Person], &lt;P&gt;CaptureFranchise,&lt;/P&gt;&lt;P&gt;"Delivery Method",&lt;/P&gt;&lt;P&gt;DealCompleteDate,&lt;/P&gt;&lt;P&gt;DealSequenceNo AS TimeDeal,&lt;/P&gt;&lt;P&gt;DealSequenceNo as WorkflowDeal,&lt;/P&gt;&lt;P&gt;DealStartDate,&lt;/P&gt;&lt;P&gt;"Deal Type",&lt;/P&gt;&lt;P&gt;Interaction1,&lt;/P&gt;&lt;P&gt;Interaction2,&lt;/P&gt;&lt;P&gt;Interaction3&lt;/P&gt;&lt;P&gt;FROM CactusDataStore.AdHoc."QV_DealTimeCTQ_DealData";&lt;/P&gt;Interaction3 using OUTLETSMAP; &lt;P&gt;[DEAL INFO]:&lt;/P&gt;Interaction2 using CALLID;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Feb 2011 13:31:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-multiple-fields-to-determine-another-field/m-p/230247#M82099</guid>
      <dc:creator />
      <dc:date>2011-02-25T13:31:50Z</dc:date>
    </item>
    <item>
      <title>Using multiple fields to determine another field</title>
      <link>https://community.qlik.com/t5/QlikView/Using-multiple-fields-to-determine-another-field/m-p/230248#M82100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I see my script is a bit weird. . . See below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;MAP&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;MAP&lt;/B&gt; Interaction3 using OUTLETSMAP;&lt;/P&gt;&lt;P&gt;[DEAL INFO]:&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;SQL&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JOIN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;([DEAL INFO])&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;LOAD&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Resident&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[DEAL INFO];&lt;/P&gt;if(Interaction1='Y','Online',if(Interaction2='In Store','In Store',if(Interaction3='Y','In Store','Other'))) as [Interaction Type] SELECT CaptureUser as [Sales Person], &lt;P&gt;CaptureFranchise,&lt;/P&gt;&lt;P&gt;"Delivery Method",&lt;/P&gt;&lt;P&gt;DealCompleteDate,&lt;/P&gt;&lt;P&gt;DealSequenceNo as TimeDeal,&lt;/P&gt;&lt;P&gt;DealSequenceNo as WorkflowDeal,&lt;/P&gt;&lt;P&gt;DealStartDate,&lt;/P&gt;&lt;P&gt;"Deal Type",&lt;/P&gt;&lt;P&gt;Interaction1,&lt;/P&gt;&lt;P&gt;Interaction2,&lt;/P&gt;&lt;P&gt;Interaction3&lt;/P&gt;&lt;P&gt;FROM CactusDataStore.AdHoc."QV_DealTimeCTQ_DealData";&lt;/P&gt;Interaction2 using CALLID;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Feb 2011 13:38:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-multiple-fields-to-determine-another-field/m-p/230248#M82100</guid>
      <dc:creator />
      <dc:date>2011-02-25T13:38:27Z</dc:date>
    </item>
    <item>
      <title>Using multiple fields to determine another field</title>
      <link>https://community.qlik.com/t5/QlikView/Using-multiple-fields-to-determine-another-field/m-p/230249#M82101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;MAP&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;SQL&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JOIN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;([DEAL INFO])&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;LOAD&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Resident&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[DEAL INFO];&lt;/P&gt;if(Interaction1='Y','Online',if(Interaction2='In Store','In Store',if(Interaction3='Y','In Store','Other'))) a[Interaction Type] SELECT CaptureUser as [Sales Person], &lt;P&gt;CaptureFranchise,&lt;/P&gt;&lt;P&gt;"Delivery Method",&lt;/P&gt;&lt;P&gt;DealCompleteDate,&lt;/P&gt;&lt;P&gt;DealSequenceNo as TimeDeal,&lt;/P&gt;&lt;P&gt;DealSequenceNo as WorkflowDeal,&lt;/P&gt;&lt;P&gt;DealStartDate,&lt;/P&gt;&lt;P&gt;"Deal Type",&lt;/P&gt;&lt;P&gt;Interaction1,&lt;/P&gt;&lt;P&gt;Interaction2,&lt;/P&gt;&lt;P&gt;Interaction3&lt;/P&gt;&lt;P&gt;FROM CactusDataStore.AdHoc."QV_DealTimeCTQ_DealData";&lt;/P&gt;Interaction2 using CALLID;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;MAP&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;Interaction3 using OUTLETSMAP; &lt;P&gt;[DEAL INFO]:&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Feb 2011 13:42:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-multiple-fields-to-determine-another-field/m-p/230249#M82101</guid>
      <dc:creator />
      <dc:date>2011-02-25T13:42:11Z</dc:date>
    </item>
    <item>
      <title>Using multiple fields to determine another field</title>
      <link>https://community.qlik.com/t5/QlikView/Using-multiple-fields-to-determine-another-field/m-p/230250#M82102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;your code&lt;BR /&gt;[\code]&lt;BR /&gt;or first paste it in Notepad &amp;amp; then copy and paste it in forums&lt;BR /&gt; &amp;lt;/body&amp;gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Feb 2011 13:42:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-multiple-fields-to-determine-another-field/m-p/230250#M82102</guid>
      <dc:creator>amars</dc:creator>
      <dc:date>2011-02-25T13:42:45Z</dc:date>
    </item>
    <item>
      <title>Using multiple fields to determine another field</title>
      <link>https://community.qlik.com/t5/QlikView/Using-multiple-fields-to-determine-another-field/m-p/230251#M82103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;&lt;BR /&gt;MAP&lt;BR /&gt;&lt;/B&gt;&lt;B&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/B&gt;&lt;BR /&gt; Interaction2 using&lt;BR /&gt; CALLID;&lt;B&gt;&lt;BR /&gt;MAP&lt;BR /&gt;&lt;/B&gt;&lt;B&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/B&gt;&lt;BR /&gt; Interaction3 using&lt;BR /&gt; OUTLETSMAP;&lt;BR /&gt;[DEAL INFO]:&lt;B&gt;&lt;BR /&gt;SQL&lt;BR /&gt;&lt;/B&gt;&lt;B&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt; SELECT CaptureUser as [Sales Person],&lt;BR /&gt;CaptureFranchise,&lt;BR /&gt;"Delivery Method",&lt;BR /&gt;DealCompleteDate,&lt;BR /&gt;DealSequenceNo as TimeDeal,&lt;BR /&gt;DealSequenceNo as WorkflowDeal,&lt;BR /&gt;DealStartDate,&lt;BR /&gt;"Deal Type",&lt;BR /&gt;Interaction1,&lt;BR /&gt;Interaction2,&lt;BR /&gt;Interaction3&lt;BR /&gt;FROM CactusDataStore.AdHoc."QV_DealTimeCTQ_DealData";&lt;BR /&gt;JOIN&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; ([DEAL INFO])&lt;B&gt;&lt;BR /&gt;LOAD&lt;BR /&gt;&lt;/B&gt;&lt;B&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/B&gt;&lt;BR /&gt; if(Interaction1='Y','Online',if(Interaction2='In Store','In Store',if(Interaction3='Y','In Store','Other'))) as&lt;BR /&gt;[Interaction Type]&lt;BR /&gt;Resident&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; [DEAL INFO];&lt;BR /&gt;[\code]&amp;lt;/body&amp;gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Feb 2011 13:50:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-multiple-fields-to-determine-another-field/m-p/230251#M82103</guid>
      <dc:creator />
      <dc:date>2011-02-25T13:50:25Z</dc:date>
    </item>
    <item>
      <title>Using multiple fields to determine another field</title>
      <link>https://community.qlik.com/t5/QlikView/Using-multiple-fields-to-determine-another-field/m-p/230252#M82104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MAP Interaction2 using CALLID;&lt;/P&gt;&lt;P&gt;MAP Interaction3 using OUTLETSMAP;&lt;/P&gt;&lt;P&gt;[DEAL INFO]:&lt;BR /&gt;SQL SELECT CaptureUser as [Sales Person],&lt;BR /&gt; CaptureFranchise,&lt;BR /&gt; "Delivery Method",&lt;BR /&gt; DealCompleteDate,&lt;BR /&gt; DealSequenceNo as TimeDeal,&lt;BR /&gt; DealSequenceNo as WorkflowDeal,&lt;BR /&gt; DealStartDate,&lt;BR /&gt; "Deal Type",&lt;BR /&gt; Interaction1,&lt;BR /&gt; Interaction2,&lt;BR /&gt; Interaction3&lt;BR /&gt;FROM CactusDataStore.AdHoc."QV_DealTimeCTQ_DealData";&lt;BR /&gt;JOIN ([DEAL INFO])&lt;BR /&gt;LOAD if(Interaction1='Y','Online',if(Interaction2='In Store','In Store',if(Interaction3='Y','In Store','Other'))) as [Interaction Type]&lt;BR /&gt; Resident [DEAL INFO];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Feb 2011 13:51:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-multiple-fields-to-determine-another-field/m-p/230252#M82104</guid>
      <dc:creator />
      <dc:date>2011-02-25T13:51:43Z</dc:date>
    </item>
    <item>
      <title>Using multiple fields to determine another field</title>
      <link>https://community.qlik.com/t5/QlikView/Using-multiple-fields-to-determine-another-field/m-p/230253#M82105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to join on something, typically the key value for the table. Since you didn't, it's giving you a cartesian product and running out of memory. Alternatively, use preceeding loads as suggested before. You &lt;EM&gt;might&lt;/EM&gt; need to use applymap() instead of MAP in that case, just to make certain the map is applied BEFORE you start checking the values (I'm not certain when the MAP is applied). Something like this:&lt;/P&gt;&lt;P&gt;[DEAL INFO]:&lt;BR /&gt;LOAD *&lt;BR /&gt;,if(Interaction1='Y' ,'Online'&lt;BR /&gt;,if(Interaction2='In Store','In Store'&lt;BR /&gt;,if(Interaction3='Y' ,'In Store'&lt;BR /&gt; ,'Other'))) as "Interaction Type"&lt;BR /&gt;;&lt;BR /&gt;LOAD&lt;BR /&gt; CaptureUser as "Sales Person"&lt;BR /&gt;,CaptureFranchise&lt;BR /&gt;,"Delivery Method"&lt;BR /&gt;,DealCompleteDate&lt;BR /&gt;,DealSequenceNo as TimeDeal&lt;BR /&gt;,DealSequenceNo as WorkflowDeal&lt;BR /&gt;,DealStartDate&lt;BR /&gt;,"Deal Type"&lt;BR /&gt;,Interaction1&lt;BR /&gt;,applymap('CALLID',Interaction2) as Interaction2&lt;BR /&gt;,applymap('OUTLETSMAP',Interaction3) as Interaction3&lt;BR /&gt;;&lt;BR /&gt;SQL SELECT&lt;BR /&gt; CaptureUser&lt;BR /&gt;,CaptureFranchise&lt;BR /&gt;,"Delivery Method"&lt;BR /&gt;,DealCompleteDate&lt;BR /&gt;,DealSequenceNo&lt;BR /&gt;,DealStartDate&lt;BR /&gt;,"Deal Type"&lt;BR /&gt;,Interaction1&lt;BR /&gt;,Interaction2&lt;BR /&gt;,Interaction3&lt;BR /&gt;FROM CactusDataStore.AdHoc."QV_DealTimeCTQ_DealData"&lt;BR /&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Feb 2011 23:03:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-multiple-fields-to-determine-another-field/m-p/230253#M82105</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-02-25T23:03:04Z</dc:date>
    </item>
    <item>
      <title>Using multiple fields to determine another field</title>
      <link>https://community.qlik.com/t5/QlikView/Using-multiple-fields-to-determine-another-field/m-p/230254#M82106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;It worked!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Feb 2011 07:26:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-multiple-fields-to-determine-another-field/m-p/230254#M82106</guid>
      <dc:creator />
      <dc:date>2011-02-28T07:26:34Z</dc:date>
    </item>
  </channel>
</rss>

