<?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 Split-up cells (Subfield) in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Split-up-cells-Subfield/m-p/1878867#M72459</link>
    <description>&lt;P&gt;Good day Qlickers. Hope someone can help me.&lt;/P&gt;
&lt;P&gt;My datasource is Smartsheets. The users fill in reason/s why a job is late. Problem is they sometimes fill in more than 1 reason per cell.&lt;/P&gt;
&lt;P&gt;I need to split-up those cells into the seperate reason? How do I do that?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See here:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner95_0-1641809283784.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/69879iC6AD12E93F297A03/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Werner95_0-1641809283784.png" alt="Werner95_0-1641809283784.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Other issue is that the number of reasons do differ. There can be 1 of there can be 10 reason.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The separtor in Smartsheets is a comma.&lt;/P&gt;
&lt;P&gt;I need to have COURIER, MISSING SAMPLES, RESOURCES_GIS, MAPS QC etc. To be in seperate lines. I hope this is possible and that someone can help me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 10 Jan 2022 10:11:57 GMT</pubDate>
    <dc:creator>Werner95</dc:creator>
    <dc:date>2022-01-10T10:11:57Z</dc:date>
    <item>
      <title>Split-up cells (Subfield)</title>
      <link>https://community.qlik.com/t5/App-Development/Split-up-cells-Subfield/m-p/1878867#M72459</link>
      <description>&lt;P&gt;Good day Qlickers. Hope someone can help me.&lt;/P&gt;
&lt;P&gt;My datasource is Smartsheets. The users fill in reason/s why a job is late. Problem is they sometimes fill in more than 1 reason per cell.&lt;/P&gt;
&lt;P&gt;I need to split-up those cells into the seperate reason? How do I do that?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See here:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner95_0-1641809283784.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/69879iC6AD12E93F297A03/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Werner95_0-1641809283784.png" alt="Werner95_0-1641809283784.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Other issue is that the number of reasons do differ. There can be 1 of there can be 10 reason.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The separtor in Smartsheets is a comma.&lt;/P&gt;
&lt;P&gt;I need to have COURIER, MISSING SAMPLES, RESOURCES_GIS, MAPS QC etc. To be in seperate lines. I hope this is possible and that someone can help me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jan 2022 10:11:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Split-up-cells-Subfield/m-p/1878867#M72459</guid>
      <dc:creator>Werner95</dc:creator>
      <dc:date>2022-01-10T10:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: Split-up cells (Subfield)</title>
      <link>https://community.qlik.com/t5/App-Development/Split-up-cells-Subfield/m-p/1878879#M72461</link>
      <description>&lt;P&gt;can you try using subfield function like:&lt;/P&gt;
&lt;P&gt;Source_Data:&lt;/P&gt;
&lt;P&gt;Load * Inline [&lt;/P&gt;
&lt;P&gt;Group_Id,Items&lt;/P&gt;
&lt;P&gt;1,"Bread,Biscuit,Chocolate"&lt;/P&gt;
&lt;P&gt;2,"Jean,Shirt,Shoes"&lt;/P&gt;
&lt;P&gt;;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NoConcatenate&lt;/P&gt;
&lt;P&gt;LOAD&lt;/P&gt;
&lt;P&gt;Group_Id,&lt;/P&gt;
&lt;P&gt;SubField(Items,',') as Items&lt;/P&gt;
&lt;P&gt;Resident Source_Data;&lt;/P&gt;
&lt;P&gt;Drop Table Source_Data;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jan 2022 10:25:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Split-up-cells-Subfield/m-p/1878879#M72461</guid>
      <dc:creator>anat</dc:creator>
      <dc:date>2022-01-10T10:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: Split-up cells (Subfield)</title>
      <link>https://community.qlik.com/t5/App-Development/Split-up-cells-Subfield/m-p/1879891#M72526</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/47358"&gt;@anat&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;See my Script here:&lt;/P&gt;
&lt;P&gt;Summary:&lt;BR /&gt;LOAD &lt;BR /&gt;mmCal_det,&lt;BR /&gt;country_det,&lt;BR /&gt;serviceCode_det,&lt;BR /&gt;hc_det,&lt;BR /&gt;key,&lt;BR /&gt;serviceName_det,&lt;BR /&gt;service_det,&lt;BR /&gt;hcOrigField_det,&lt;BR /&gt;spreadSheet_det,&lt;BR /&gt;workSheet_det,&lt;BR /&gt;date(date#(dateEntry_det, 'YYYY/MM/DD')) as dateEntry_det, &lt;BR /&gt;dateEntryOrigValue_det,&lt;BR /&gt;dateEntryOrigField_det,&lt;BR /&gt;dateCompleted_det,&lt;BR /&gt;dateCompletedOrigValue_det,&lt;BR /&gt;dateCompletedOrigField_det,&lt;BR /&gt;Upper(personAllocatedTest_det) as personAllocatedTest_det,&lt;BR /&gt;Upper(personAllocatedTestOrigField_det) as personAllocatedTestOrigField_det,&lt;BR /&gt;Upper(personAllocatedQC_det) as personAllocatedQC_det,&lt;BR /&gt;test1_det,&lt;BR /&gt;test2_det,&lt;BR /&gt;test3_det,&lt;BR /&gt;flagResultsReceived_det,&lt;BR /&gt;flagReportComplete_det,&lt;BR /&gt;flagPdfReceived_det,&lt;BR /&gt;flagMfwTotalDataPointsLoaded_det,&lt;BR /&gt;flagMfwTotalLoadedAllMFW_det,&lt;BR /&gt;Upper(agriculturist_det) as agriculturist_det,&lt;BR /&gt;Upper(depot_det) as depot_det,&lt;BR /&gt;Upper(crop_det) as crop_det,&lt;BR /&gt;cropCat_det,&lt;BR /&gt;Upper(entityName_det) as entityName_det,&lt;BR /&gt;Upper(clientName_det) as clientName_det,&lt;BR /&gt;Upper(farmName_det) as farmName_det,&lt;BR /&gt;Upper(area_det) as area_det,&lt;BR /&gt;qtySamples_det,&lt;BR /&gt;qtySamplesOrigField_det,&lt;BR /&gt;ftaAssigned_det,&lt;BR /&gt;actualFWdateflag_det,&lt;BR /&gt;qtyLines_det,&lt;BR /&gt;poNr_det,&lt;BR /&gt;sample_det,&lt;BR /&gt;dateResultsReceived_det,&lt;BR /&gt;dateReportComplete_det,&lt;BR /&gt;OrderStatus_det,&lt;BR /&gt;dateCompleted2_det,&lt;BR /&gt;dateCompletedOrigValue2_det,&lt;BR /&gt;dateCompletedOrigField2_det,&lt;BR /&gt;dateCompletedGIS_det,&lt;BR /&gt;dateCompletedGISOrigField_det,&lt;BR /&gt;Upper(personAllocatedGIS_det) as personAllocatedGIS_det,&lt;BR /&gt;Upper(personAllocatedGISOrigField_det) as personAllocatedGISOrigField_det,&lt;BR /&gt;qtyHaGIS_det,&lt;BR /&gt;qtyHaGISOrigField_det,&lt;BR /&gt;qtyFWHa_det,&lt;BR /&gt;qtyFWHaOrigField_det,&lt;BR /&gt;qtyFWAc_det,&lt;BR /&gt;qtyFWAcOrigField_det,&lt;BR /&gt;qtyHa_det,&lt;BR /&gt;qtyAcre_det,&lt;/P&gt;
&lt;P&gt;fwDateEnd_det,&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; upper(reasonlate_det) as reasonlate_det, &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;dateResultsRecieved_det,&lt;BR /&gt;actualFWdateflag2_det,&lt;BR /&gt;qtyHoles_det,&lt;BR /&gt;qtyHolesOrigField_det,&lt;BR /&gt;qtyGPTubes_det,&lt;BR /&gt;qtyGPTubesOrigField_det,&lt;BR /&gt;qtyAcGIS_det,&lt;BR /&gt;qtyAcGISOrigField_det,&lt;BR /&gt;dateMeasurementsRecieved_det,&lt;BR /&gt;dateMeasurementsRecieveddOrigValue_det,&lt;BR /&gt;dateMeasurementsRecieveddOrigField_det,&lt;BR /&gt;dateQCCompleted_det,&lt;BR /&gt;dateQCCompletedOrigValue_det,&lt;BR /&gt;dateQCCompletedOrigField_det,&lt;BR /&gt;Upper(personFSSResponsable_det) as personFSSResponsable_det,&lt;BR /&gt;personFSSResponsableOrigField_det,&lt;BR /&gt;NIDpoints_det,&lt;BR /&gt;NIDpointsOrigField_det,&lt;BR /&gt;FSSPoints_det,&lt;BR /&gt;FSSPointsOrigField_det,&lt;BR /&gt;samplesTakenBy_det,&lt;BR /&gt;samplesTakenByOrigField_det,&lt;BR /&gt;qtyLinesOrigField_det,&lt;BR /&gt;pricecategory_det,&lt;BR /&gt;qtyHaOrigField_det,&lt;BR /&gt;ppmStatus_det,&lt;BR /&gt;ppmStatusOrigField_det,&lt;BR /&gt;qtyHaPO_det,&lt;BR /&gt;qtyHaPOOrigField_det,&lt;BR /&gt;ppmItemName_det,&lt;BR /&gt;ppmItemNameOrigField_det,&lt;BR /&gt;// fwStatus_det,&lt;BR /&gt;Durationtocompleteminutes_det,&lt;BR /&gt;Relatedservice_det,&lt;BR /&gt;ActualHarvestHectares_det,&lt;BR /&gt;WorkingDays_det,&lt;BR /&gt;// CountLate_det,&lt;BR /&gt;Despcription_det,&lt;BR /&gt;JobStatus_det,&lt;BR /&gt;TypeofRequest_det,&lt;BR /&gt;TargetCompletionDate_det,&lt;BR /&gt;RequestReceivedFrom_det,&lt;BR /&gt;durationDaysWorkMax_det,&lt;BR /&gt;zRef_HCDuplicate_det,&lt;BR /&gt;durationDaysWorkMax2_det,&lt;BR /&gt;flagPONr_det,&lt;BR /&gt;flagGIS_det,&lt;BR /&gt;flagCompleted_det,&lt;BR /&gt;flagCompleted2_det,&lt;BR /&gt;flagCompletedGIS_det,&lt;BR /&gt;zError_HCEmpty_det,&lt;BR /&gt;zError_HCDuplicate_det,&lt;BR /&gt;zError_dateEntryEmpty_det,&lt;BR /&gt;zError_dateEntryFormat_det,&lt;BR /&gt;zError_dateCompleted_det,&lt;BR /&gt;zError_durationDaysWorkMax_det,&lt;BR /&gt;durationDaysWork_det,&lt;BR /&gt;durationDaysWork2_det,&lt;BR /&gt;durationDaysCalendar_det,&lt;BR /&gt;durationDaysCalendar2_det,&lt;BR /&gt;yyyyCal_det,&lt;BR /&gt;mmmCal_det,&lt;BR /&gt;yyyyFiscal_det,&lt;BR /&gt;flagLate_det,&lt;BR /&gt;flagLate2_det,&lt;BR /&gt;dateExpected_det,&lt;BR /&gt;dateExpected2_det,&lt;BR /&gt;dateToday_det,&lt;BR /&gt;ppFiscal_det,&lt;BR /&gt;pppFiscal_det,&lt;BR /&gt;ppMMMFiscal_det,&lt;BR /&gt;flagAlreadyLate_det,&lt;BR /&gt;flagAlreadyLate2_det,&lt;BR /&gt;yyyyPPMMMFiscal_det,&lt;BR /&gt;yyyyMMMCal_det,&lt;BR /&gt;yyyyMMCal_det,&lt;BR /&gt;flagExcludeError_det,&lt;BR /&gt;TYPEOFANALYSIS_det,&lt;BR /&gt;rowlink_det,&lt;BR /&gt;&lt;BR /&gt;//****SOIL SCIENTIST EVALUATE****//&lt;BR /&gt;soilScientistResp_det,&lt;BR /&gt;dateDigitizingSent_det, &lt;BR /&gt;dateActualQCDate_det,&lt;BR /&gt;dateCreated_det,&lt;BR /&gt;&lt;BR /&gt;//****INVOICING****// &lt;BR /&gt;INVOICETOTAL_det,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;//****LATE ANALYSIS &amp;amp; LOGISTICS REPORT (2021/08/02)****//&lt;BR /&gt;fields_det,&lt;BR /&gt;date(date#(actualFWdate_det, 'YYYY/MM/DD')) as actualFWdate_det,&lt;BR /&gt;date(date#(dateSamplessent_det, 'YYYY/MM/DD')) as dateSamplessent_det,&lt;BR /&gt;date(date#(dateSamplesDeliveredToLab_det, 'YYYY/MM/DD')) as dateSamplesDeliveredToLab_det,&lt;BR /&gt;NetWorkDays(dateSamplessent_det,dateSamplesDeliveredToLab_det) as logisticsdays,&lt;BR /&gt;bookname_det,&lt;BR /&gt;date(date#(dateBookCompleted_det, 'YYYY/MM/DD')) as dateBookCompleted_det,&lt;BR /&gt;date(date#(datePDFEmailed_det, 'YYYY/MM/DD')) as datePDFEmailed_det,&lt;BR /&gt;date(date#(datePDFUploaded_det, 'YYYY/MM/DD')) as datePDFUploaded_det,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;country_det&amp;amp;'|'&amp;amp;serviceName_det as %Key_Summary_Projection,&lt;/P&gt;
&lt;P&gt;//****AGRICULTURIST REPORT****// &lt;BR /&gt;dateReportSSent_det,&lt;BR /&gt;dateReport@Customer_det,&lt;BR /&gt;dateActualFieldwork_det,&lt;BR /&gt;report@customerflag_det,&lt;BR /&gt;&lt;BR /&gt;//****MRC LATE REPORT****// &lt;BR /&gt;dateSamplesDeliveredLab_det,&lt;BR /&gt;dateResultsRecPub_det,&lt;BR /&gt;dateCompleted05_det,&lt;/P&gt;
&lt;P&gt;ApplyMap('CROP',Upper(crop_det),'##MAPPING NOT FOUND') AS CROP_CLEAN,&lt;BR /&gt;ApplyMap('AGRICULTURIST',Upper(agriculturist_det),'##MAPPING NOT FOUND') AS AGRICULTURIST_CLEAN,&lt;BR /&gt;ApplyMap('PERSONALLOCATEDTOTEST',Upper(personAllocatedTest_det),'##MAPPING NOT FOUND') AS PERSONTOTEST_CLEAN,&lt;BR /&gt;ApplyMap('PERSONALLOCATEDTOTESTGIS',Upper(personAllocatedGIS_det),'##MAPPING NOT FOUND') AS PERSONTOTESTGIS_CLEAN,&lt;BR /&gt;ApplyMap('DEPOT',Upper(depot_det),'##MAPPING NOT FOUND') AS DEPOT_CLEAN,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;// actualFWdate_det,&lt;/P&gt;
&lt;P&gt;'SMARTSHEETS' AS Source_Summary&lt;/P&gt;
&lt;P&gt;//**LIVE Qlik Sense qvd's**//&lt;BR /&gt;FROM [lib://SMARTSHEET_STEP2 (bij001_truserv__administrator)/2_ops_detail.qvd] (qvd);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Attached is a list of all the reasons late. See here that the amount of reasons people give per cell/line in Smartsheets differ.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please advise on code I should use.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 06:44:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Split-up-cells-Subfield/m-p/1879891#M72526</guid>
      <dc:creator>Werner95</dc:creator>
      <dc:date>2022-01-12T06:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: Split-up cells (Subfield)</title>
      <link>https://community.qlik.com/t5/App-Development/Split-up-cells-Subfield/m-p/1884467#M72853</link>
      <description>&lt;P&gt;Hello Werner,&lt;BR /&gt;the solution form Anat is the way to go. I'll try to exlain it more. But be aware that nobody has time to go through this massive script and try to understand it. So i hope that you can get the key point out of my explaination and can modify your script yourself.&lt;BR /&gt;&lt;BR /&gt;How do ou identify each line of data? Which field/column is the unique identifier. As placeholder I will use "Identifier" :&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="25%"&gt;&lt;STRONG&gt;Identifier&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="25%"&gt;all the other columns...&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="50%"&gt;&lt;STRONG&gt;reasonlate_det&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%"&gt;100001&lt;/TD&gt;
&lt;TD width="25%"&gt;....&lt;/TD&gt;
&lt;TD width="50%"&gt;COURIER&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%"&gt;100002&lt;/TD&gt;
&lt;TD width="25%"&gt;...&lt;/TD&gt;
&lt;TD width="50%"&gt;COURIER, LAB, REWORK&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%"&gt;100003&lt;/TD&gt;
&lt;TD width="25%"&gt;...&lt;/TD&gt;
&lt;TD width="50%"&gt;COURIER, MISSING SAMPLES&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;BR /&gt;So first task: find the Identifier.&lt;BR /&gt;Now you have to load a new table:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Reasons:
Load
  Identifier, //please replace with the correct field name
  Subfield(reasonlate_detm,',') as Reason
resident Summary;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;This will generate a table in which for each Identifier all Reasons are listet as seperate Values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jan 2022 13:06:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Split-up-cells-Subfield/m-p/1884467#M72853</guid>
      <dc:creator>chris_djih</dc:creator>
      <dc:date>2022-01-24T13:06:25Z</dc:date>
    </item>
  </channel>
</rss>

