<?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: Load INLINE problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-INLINE-problem/m-p/1525025#M599934</link>
    <description>&lt;P&gt;Thank you!&amp;nbsp; This solved the issue!&lt;/P&gt;</description>
    <pubDate>Sun, 30 Dec 2018 23:37:47 GMT</pubDate>
    <dc:creator>conwayro</dc:creator>
    <dc:date>2018-12-30T23:37:47Z</dc:date>
    <item>
      <title>Load INLINE problem</title>
      <link>https://community.qlik.com/t5/QlikView/Load-INLINE-problem/m-p/1524664#M599931</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm having an issue grouping data into 'buckets' via Load INLINE.&lt;/P&gt;&lt;P&gt;In my database I have three separate location fields depending on the facility (Location A, Location B and Location C).&amp;nbsp; In my load script I concatenate these into a fourth field simply called "Location" so that I can display all locations in a single column in a Table Box.&amp;nbsp; The script for this is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Location(A)] as Location_A,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Location(B)] as Location_B,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Location(C)] as Location_C,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;//===This next line combines all three locations into one location column=== // &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Location(A)]&amp;amp;''&amp;amp;[Location(B)]&amp;amp;''&amp;amp;[Location(C)] as Location,&lt;/P&gt;&lt;P&gt;The result is:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 360px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/2726i2C1A72E88BC8E141/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I now want to create a 5th field called 'Service Group' which assigns the appropriate Service to the location to look something like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 547px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/2727i4C893F4175B99B5F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I tried to do this using the following script:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Location, ServiceGroup&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;OPD, 'Clinical Access &amp;amp; Operations'&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;ACC Clinic 2, 'Clinical Access &amp;amp; Operations'&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;ACC Clinic 3, 'Clinical Access &amp;amp; Operations'&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;ACC Clinic 4, 'Clinical Access &amp;amp; Operations'&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;ACC Clinic 5, 'Clinical Access &amp;amp; Operations'&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;ACC Clinic 6, 'Clinical Access &amp;amp; Operations'&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;ACC Clinic 7, 'Clinical Access &amp;amp; Operations'&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;OUTPATIENTS, 'Clinical Access &amp;amp; Operations'&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Transit Lounge, 'Clinical Access &amp;amp; Operations'&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;2FW-ARC,'Medical Services'&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;3A,'Medical Services'&lt;/P&gt;&lt;P&gt;etc......&lt;/P&gt;&lt;P&gt;But when I use the 'Location' field, it will only do it for a small amount of the data for the previous year.&amp;nbsp; If I replace 'Location' with one of the three individual fields, such as 'Location_A' the data loads accurately, but only for those locations in the 'Location_A' field, and not for the other two!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions would be greatly received!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Roger&lt;/P&gt;</description>
      <pubDate>Fri, 28 Dec 2018 05:01:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-INLINE-problem/m-p/1524664#M599931</guid>
      <dc:creator>conwayro</dc:creator>
      <dc:date>2018-12-28T05:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: Load INLINE problem</title>
      <link>https://community.qlik.com/t5/QlikView/Load-INLINE-problem/m-p/1524670#M599932</link>
      <description>&lt;P&gt;Please share a sample workbook which will help us to get you a right solution&lt;/P&gt;&lt;P&gt;on the other note, your&amp;nbsp;&lt;SPAN&gt;Service Group field&amp;nbsp;is behaving on the data association&amp;nbsp;which is correct.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;you can try considering other two fields as will in custom&amp;nbsp;Service Group field using set analysis to include those two fields&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;e.g. : only({&amp;lt;LocationB,LocationC&amp;gt;}service group)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please note this might not be exactly what you want and might need to tweak.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Dec 2018 05:51:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-INLINE-problem/m-p/1524670#M599932</guid>
      <dc:creator>punitpopli</dc:creator>
      <dc:date>2018-12-28T05:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: Load INLINE problem</title>
      <link>https://community.qlik.com/t5/QlikView/Load-INLINE-problem/m-p/1524684#M599933</link>
      <description>&lt;P&gt;Looking at your screenshot it looks like you have values in Location_A and Location_B&amp;nbsp;that are single spaces. So if you string these values together with Location_C you get values with one or two preceding spaces. You need to remove those spaces with for example the Trim() function:&amp;nbsp;&lt;STRONG&gt;Trim(&lt;/STRONG&gt;&lt;SPAN&gt;[Location(A)] &amp;amp; [Location(B)] &amp;amp; [Location(C)]&lt;STRONG&gt;)&lt;/STRONG&gt; as Location&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Dec 2018 07:23:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-INLINE-problem/m-p/1524684#M599933</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2018-12-28T07:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: Load INLINE problem</title>
      <link>https://community.qlik.com/t5/QlikView/Load-INLINE-problem/m-p/1525025#M599934</link>
      <description>&lt;P&gt;Thank you!&amp;nbsp; This solved the issue!&lt;/P&gt;</description>
      <pubDate>Sun, 30 Dec 2018 23:37:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-INLINE-problem/m-p/1525025#M599934</guid>
      <dc:creator>conwayro</dc:creator>
      <dc:date>2018-12-30T23:37:47Z</dc:date>
    </item>
  </channel>
</rss>

