<?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 split multiple items separated by ',' into rows and lookup separated values in reference table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-split-multiple-items-separated-by-into-rows-and-lookup/m-p/1780687#M474668</link>
    <description>&lt;P&gt;is this the part where you are encountering your challenge?&lt;BR /&gt;If(Right([Region Impacted],1) = ',',Subfield (Left([Region Impacted],len([Region Impacted])-1),','),Subfield([Region Impacted],','))&lt;/P&gt;&lt;P&gt;i think the if statement will always give you the same value in any test case.&amp;nbsp; if i understand it corrcetly the expression is doing the following:&lt;BR /&gt;if the last character in the field is a comma, get the subfield (first phrase before a comma) else get the subfield&amp;nbsp;(first phrase before a comma)&lt;BR /&gt;so whether the lastchar is a comma or not youre actually getting the same subfield so it doesnt make sense to me.&lt;BR /&gt;&lt;BR /&gt;is the content of the field [region impacted]&amp;nbsp; multiple regions separated by comma?&amp;nbsp; and you want to split it?&amp;nbsp; did you just want the first region or all of the regions?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 06 Feb 2021 15:41:18 GMT</pubDate>
    <dc:creator>edwin</dc:creator>
    <dc:date>2021-02-06T15:41:18Z</dc:date>
    <item>
      <title>How to split multiple items separated by ',' into rows and lookup separated values in reference table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-split-multiple-items-separated-by-into-rows-and-lookup/m-p/1780674#M458272</link>
      <description>&lt;P&gt;I have below script.&amp;nbsp; The fields that need to be split are &lt;U&gt;responsible party&lt;/U&gt;, &lt;U&gt;product impacted&lt;/U&gt; and &lt;U&gt;region impacted&lt;/U&gt;. After slitting, we need the values to lookup in the lookup table.&amp;nbsp; I tried using subfield, and it separated my items, however, I'm unable to look it up in the lookup table.&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;ErrorLog:&lt;BR /&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT size="1" color="#0000ff"&gt;LOAD&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT size="1"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;ErrorId&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;BR /&gt;,&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;ProcessQueueID&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;BR /&gt;,&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;LinkProcessID&lt;/FONT&gt; &lt;FONT size="1" color="#0000ff"&gt;as&lt;/FONT&gt;&lt;FONT size="1"&gt; 'LinkProcessIDError'&lt;BR /&gt;,&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;[Error Status]&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;BR /&gt;,&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;date&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;[Error Create Date]&lt;/FONT&gt;&lt;FONT size="1"&gt;) &lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;as&lt;/FONT&gt;&lt;FONT size="1"&gt; 'Error Create Date'&lt;BR /&gt;,&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;date&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;[Error Close Date]&lt;/FONT&gt;&lt;FONT size="1"&gt;) &lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;as&lt;/FONT&gt;&lt;FONT size="1"&gt; 'Error Close Date'&lt;BR /&gt;,&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;[Caught Before Release]&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;BR /&gt;,&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;ApplyMap&lt;/FONT&gt;&lt;FONT size="1"&gt;('UserMap',&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;LoggedBySID&lt;/FONT&gt;&lt;FONT size="1"&gt;,&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;LoggedBySID&lt;/FONT&gt;&lt;FONT size="1"&gt;) &lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;as&lt;/FONT&gt; &lt;FONT size="1" color="#800000"&gt;[Logged By]&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;BR /&gt;,&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;[Caught By Group]&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;BR /&gt;,&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;[Responsibility - Prod]&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;BR /&gt;,&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;ApplyMap&lt;/FONT&gt;&lt;FONT size="1"&gt;('UserMap',&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;QualityVerifier&lt;/FONT&gt;&lt;FONT size="1"&gt;,&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;QualityVerifier&lt;/FONT&gt;&lt;FONT size="1"&gt;) &lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;as&lt;/FONT&gt;&lt;FONT size="1"&gt; 'Quality Verifier'&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT size="1" color="#008000"&gt;//,[Responsibility - Verifier]&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT size="1" color="#008000"&gt;//,[Product Impacted] //multiple selections&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;BR /&gt;,&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;If&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;Right&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;[Product Impacted]&lt;/FONT&gt;&lt;FONT size="1"&gt;,1) = ',',&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;Subfield&lt;/FONT&gt;&lt;FONT size="1"&gt; (&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;Left&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;[Product Impacted]&lt;/FONT&gt;&lt;FONT size="1"&gt;,&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;len&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;[Product Impacted]&lt;/FONT&gt;&lt;FONT size="1"&gt;)-1),','),&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;Subfield&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;[Product Impacted]&lt;/FONT&gt;&lt;FONT size="1"&gt;,',')) &lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;as&lt;/FONT&gt;&lt;FONT size="1"&gt; 'Product Impacted'&lt;BR /&gt;&lt;BR /&gt;,&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;[External Team]&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT size="1" color="#008000"&gt;//,[Responsible Party] //multiple selections&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;BR /&gt;,&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;If&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;Right&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;[Responsible Party]&lt;/FONT&gt;&lt;FONT size="1"&gt;,1) = ',',&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;Subfield&lt;/FONT&gt;&lt;FONT size="1"&gt; (&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;Left&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;[Responsible Party]&lt;/FONT&gt;&lt;FONT size="1"&gt;,&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;len&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;[Responsible Party]&lt;/FONT&gt;&lt;FONT size="1"&gt;)-1),','),&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;Subfield&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;[Responsible Party]&lt;/FONT&gt;&lt;FONT size="1"&gt;,',')) &lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;as&lt;/FONT&gt;&lt;FONT size="1"&gt; 'Responsible Party'&lt;BR /&gt;&lt;BR /&gt;,&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;[Error Description]&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;BR /&gt;,&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;[Corrective Action]&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;BR /&gt;,&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;[Error Type]&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;BR /&gt;,&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;[Root Cause]&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;BR /&gt;,&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;Severity&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT size="1" color="#008000"&gt;//,[Region Impacted] //multiple selections&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;BR /&gt;,&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;If&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;Right&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;[Region Impacted]&lt;/FONT&gt;&lt;FONT size="1"&gt;,1) = ',',&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;Subfield&lt;/FONT&gt;&lt;FONT size="1"&gt; (&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;Left&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;[Region Impacted]&lt;/FONT&gt;&lt;FONT size="1"&gt;,&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;len&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;[Region Impacted]&lt;/FONT&gt;&lt;FONT size="1"&gt;)-1),','),&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;Subfield&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;[Region Impacted]&lt;/FONT&gt;&lt;FONT size="1"&gt;,',')) &lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;as&lt;/FONT&gt;&lt;FONT size="1"&gt; 'Region Impacted'&lt;BR /&gt;&lt;BR /&gt;,&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;[Over Charge]&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;BR /&gt;,&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;[Under Charge]&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;BR /&gt;,&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;PhoenixId&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;BR /&gt;,&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;AdjustmentAmount&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;BR /&gt;,&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;[Adjustment Required]&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;BR /&gt;,&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;[Reversal Required]&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;BR /&gt;,&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;Approver&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;BR /&gt;,&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;[Approval Date]&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;BR /&gt;,&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;[Approval Status]&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;Where&lt;/FONT&gt; &lt;FONT size="1" color="#0000ff"&gt;Exists&lt;/FONT&gt;&lt;FONT size="1"&gt; (&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;ProcessQueueID&lt;/FONT&gt;&lt;FONT size="1"&gt;)&lt;BR /&gt;;&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT size="1" color="#0000ff"&gt;SQL&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT size="1"&gt;&lt;BR /&gt;SELECT&lt;BR /&gt;Error.ErrorId&lt;BR /&gt;,CAST(Error.BmwProductionProcessId as varchar(10))+'-'+CAST(Error.ProcessMonth as varchar(2))+'-'+CAST(Error.ProcessYear as varchar(4)) as ProcessQueueID&lt;BR /&gt;,Error.BmwReviewProcessId 'LinkProcessID'&lt;BR /&gt;,Status.LookUpDesc 'Error Status'&lt;BR /&gt;,Error.CreatedDate 'Error Create Date'&lt;BR /&gt;,Error.CloseDate 'Error Close Date'&lt;BR /&gt;,CASE WHEN Error.IsCaughtBeforeRelease = 1 then 'Y' else 'N' END 'Caught Before Release'&lt;BR /&gt;,Error.CreatedBy as 'LoggedBySID'&lt;BR /&gt;,CaughtBy.LookUpDesc 'Caught By Group'&lt;BR /&gt;,CASE WHEN Error.IsProductionAnalystResponsible = 1 then 'Y' else 'N' END 'Responsibility - Prod'&lt;BR /&gt;,Error.QualityVerifier&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT size="1" color="#008000"&gt;//,Error.ProductImpacted 'Product Impacted'&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT size="1" color="#008000"&gt;//,CAST(Error.ProductImpacted as int) as 'Product Impacted'&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;BR /&gt;,ProductImpacted.LookUpDesc 'Product Impacted'&lt;BR /&gt;&lt;BR /&gt;,Error.ResponsibleParty 'Responsible Party'&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT size="1" color="#008000"&gt;//,CAST(Error.ResponsibleParty as int) as 'Responsible Party'&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT size="1" color="#008000"&gt;//,ResponsibleParty.LookUpDesc 'Responsible Party'&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;BR /&gt;&lt;BR /&gt;,Error.RegionImpacted 'Region Impacted'&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT size="1" color="#008000"&gt;//,CAST(Error.RegionImpacted as int) as 'Region Impacted'&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT size="1" color="#008000"&gt;//,RegionImpacted.LookUpDesc 'Region Impacted'&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;BR /&gt;&lt;BR /&gt;,ExternalTeam.LookUpDesc 'External Team'&lt;BR /&gt;,Error.ErrorDescription 'Error Description'&lt;BR /&gt;,Error.CorrectiveAction 'Corrective Action'&lt;BR /&gt;,ErrorType.LookUpDesc 'Error Type'&lt;BR /&gt;,RootCause.ErrorRootCauseDesc 'Root Cause'&lt;BR /&gt;,Severity.LookUpDesc 'Severity'&lt;BR /&gt;&lt;BR /&gt;,Error.ImpactOverCharge 'Over Charge'&lt;BR /&gt;,Error.ImpactUnderCharge 'Under Charge'&lt;BR /&gt;,Error.PhoenixId&lt;BR /&gt;,Error.AdjustmentAmount&lt;BR /&gt;,CASE WHEN Error.IsAdjustmentRequired = 2 then 'Y' else 'N' END 'Adjustment Required'&lt;BR /&gt;,CASE WHEN Error.IsReversalRequired = 2 then 'Y' else 'N' END 'Reversal Required'&lt;BR /&gt;,Approval.Appv_Checker as 'Approver'&lt;BR /&gt;,Approval.Appv_Checker_Dt as 'Approval Date'&lt;BR /&gt;,Approval.Overall_Appv_Status as 'Approval Status'&lt;BR /&gt;--,Error.BmwProcessTasksIds&lt;BR /&gt;--,Error.ModifiedBy&lt;BR /&gt;--,Error.ModifiedDate&lt;BR /&gt;&lt;BR /&gt;FROM &lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;[BMW]&lt;/FONT&gt;&lt;FONT size="1"&gt;.&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;[dbo]&lt;/FONT&gt;&lt;FONT size="1"&gt;.&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;[BMW_Error]&lt;/FONT&gt;&lt;FONT size="1"&gt; Error&lt;BR /&gt;left join BMW.dbo.bmw_LookUp Status on Error.ErrorStatus = Status.LookUpId&lt;BR /&gt;left join BMW.dbo.bmw_LookUp CaughtBy on Error.CaughtBy = CaughtBy.LookUpId&lt;BR /&gt;left join BMW.dbo.bmw_LookUp ExternalTeam on Error.ExternalTeam = ExternalTeam.LookUpId&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT size="1" color="#008000"&gt;//inner join BMW.dbo.bmw_LookUp ProductImpacted on (If(Right(Error.ProductImpacted,1) = ',',Subfield (Left(Error.ProductImpacted,len(Error.ProductImpacted)-1),','),Subfield(Error.ProductImpacted,','))) = ProductImpacted.LookUpId&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;BR /&gt;inner join BMW.dbo.bmw_LookUp ProductImpacted on &lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;[Product Impacted]&lt;/FONT&gt;&lt;FONT size="1"&gt; = ProductImpacted.LookUpId&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT size="1" color="#008000"&gt;//left join BMW.dbo.bmw_LookUp ResponsibleParty on Error.ResponsibleParty = ResponsibleParty.LookUpId&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT size="1" color="#008000"&gt;//left join BMW.dbo.bmw_LookUp RegionImpacted on Error.RegionImpacted = RegionImpacted.LookUpId&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;BR /&gt;&lt;BR /&gt;left join BMW.dbo.bmw_LookUp ErrorType on Error.ErrorType = ErrorType.LookUpId&lt;BR /&gt;left join BMW.dbo.bmw_ErrorRootCause RootCause on Error.ErrorRootCause = RootCause.ErrorRootCauseId&lt;BR /&gt;left join BMW.dbo.bmw_LookUp Severity on Error.Severity = Severity.LookUpId&lt;BR /&gt;left join BMW.dbo.BMW_ERROR_APPROVALS Approval on Error.ErrorId = Approval.EventId and Approval.Appv_Maker='BELS_Reversal'&lt;BR /&gt;WHERE Error.ProcessMonth is not null&lt;BR /&gt;Order by ErrorId&lt;BR /&gt;;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 06 Feb 2021 11:02:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-split-multiple-items-separated-by-into-rows-and-lookup/m-p/1780674#M458272</guid>
      <dc:creator>mmvardeleon</dc:creator>
      <dc:date>2021-02-06T11:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to split multiple items separated by ',' into rows and lookup separated values in reference table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-split-multiple-items-separated-by-into-rows-and-lookup/m-p/1780687#M474668</link>
      <description>&lt;P&gt;is this the part where you are encountering your challenge?&lt;BR /&gt;If(Right([Region Impacted],1) = ',',Subfield (Left([Region Impacted],len([Region Impacted])-1),','),Subfield([Region Impacted],','))&lt;/P&gt;&lt;P&gt;i think the if statement will always give you the same value in any test case.&amp;nbsp; if i understand it corrcetly the expression is doing the following:&lt;BR /&gt;if the last character in the field is a comma, get the subfield (first phrase before a comma) else get the subfield&amp;nbsp;(first phrase before a comma)&lt;BR /&gt;so whether the lastchar is a comma or not youre actually getting the same subfield so it doesnt make sense to me.&lt;BR /&gt;&lt;BR /&gt;is the content of the field [region impacted]&amp;nbsp; multiple regions separated by comma?&amp;nbsp; and you want to split it?&amp;nbsp; did you just want the first region or all of the regions?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 06 Feb 2021 15:41:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-split-multiple-items-separated-by-into-rows-and-lookup/m-p/1780687#M474668</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2021-02-06T15:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to split multiple items separated by ',' into rows and lookup separated values in reference table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-split-multiple-items-separated-by-into-rows-and-lookup/m-p/1780745#M720275</link>
      <description>&lt;P&gt;Maybe like this?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 434px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/48637iFC6BBAFFAB1A63C0/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;LOAD
SubField([Inventāra Nr.], ';', IterNo()) AS Inv.Numurs,
SubField([Sērijas Nr.],      ';', IterNo()) AS Sēr.Numurs
while (len(SubField([Inventāra Nr.], ';', IterNo())) + len(SubField([Sērijas Nr.], ';', IterNo())))&amp;gt;0;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Feb 2021 18:20:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-split-multiple-items-separated-by-into-rows-and-lookup/m-p/1780745#M720275</guid>
      <dc:creator>hugoqliksense</dc:creator>
      <dc:date>2021-02-07T18:20:33Z</dc:date>
    </item>
  </channel>
</rss>

