<?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: Divide words from data field into multiple lines in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Divide-words-from-data-field-into-multiple-lines/m-p/1623144#M733249</link>
    <description>&lt;P&gt;Thats it.&lt;/P&gt;&lt;P&gt;Thank you very much. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 12 Sep 2019 12:03:09 GMT</pubDate>
    <dc:creator>sebbyvogel123</dc:creator>
    <dc:date>2019-09-12T12:03:09Z</dc:date>
    <item>
      <title>Divide words from data field into multiple lines</title>
      <link>https://community.qlik.com/t5/QlikView/Divide-words-from-data-field-into-multiple-lines/m-p/1623133#M733245</link>
      <description>&lt;P&gt;Dear Community,&lt;/P&gt;&lt;P&gt;I have the data field "Rule". This includes f.e.&amp;nbsp;&lt;EM&gt;((user.userId="user1" or user.userId="user2"))&lt;/EM&gt;. In form of a table, it looks like this:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;ID&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Rule&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;123456&lt;/TD&gt;&lt;TD&gt;&lt;EM&gt;((user.userId="user1" or user.userId="user2"))&lt;/EM&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;999999&lt;/TD&gt;&lt;TD&gt;&lt;EM&gt;(user.userId="user1" or user.userId="user6"))&lt;/EM&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My goal is to split these users and write each in a separate line. It should look like this:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;ID&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;UserID&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;123456&lt;/TD&gt;&lt;TD&gt;user1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;123456&lt;/TD&gt;&lt;TD&gt;user2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;999999&lt;/TD&gt;&lt;TD&gt;user1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;999999&lt;/TD&gt;&lt;TD&gt;user6&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there somebody who can help me?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:29:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Divide-words-from-data-field-into-multiple-lines/m-p/1623133#M733245</guid>
      <dc:creator>sebbyvogel123</dc:creator>
      <dc:date>2024-11-16T02:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Divide words from data field into multiple lines</title>
      <link>https://community.qlik.com/t5/QlikView/Divide-words-from-data-field-into-multiple-lines/m-p/1623141#M733247</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Using the subfield without the third parameter gives you the result what you want&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;LOAD
	ID,
	Rule,
	textbetween(SubField(Rule,' or '),'"','"') as RuleSplit
INLINE [
    ID, Rule
    123456, '((user.userId="user1" or user.userId="user2"))'
    999999, '(user.userId="user1" or user.userId="user6"))'
];&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and then with the textbetween() function you can cleanup the string.&lt;/P&gt;&lt;P&gt;hope it helps.&lt;/P&gt;&lt;P&gt;kind regards&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2019 11:58:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Divide-words-from-data-field-into-multiple-lines/m-p/1623141#M733247</guid>
      <dc:creator>hector</dc:creator>
      <dc:date>2019-09-12T11:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: Divide words from data field into multiple lines</title>
      <link>https://community.qlik.com/t5/QlikView/Divide-words-from-data-field-into-multiple-lines/m-p/1623144#M733249</link>
      <description>&lt;P&gt;Thats it.&lt;/P&gt;&lt;P&gt;Thank you very much. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2019 12:03:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Divide-words-from-data-field-into-multiple-lines/m-p/1623144#M733249</guid>
      <dc:creator>sebbyvogel123</dc:creator>
      <dc:date>2019-09-12T12:03:09Z</dc:date>
    </item>
  </channel>
</rss>

