<?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: Transpose fields from one column of data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Transpose-fields-from-one-column-of-data/m-p/1592568#M596908</link>
    <description>&lt;P&gt;Hi Frank,&lt;/P&gt;&lt;P&gt;really many thanks...&lt;/P&gt;&lt;P&gt;Your solution is very simple, fast and "efficient"... &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Waiting for a reply from the Community, I worked on it and I obtained the same result with 12 (TWELVE!) ETL passages, some quite complex and using, at the end, also a Generic Load... &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Just to confirm that to connect two points, a part a straight line, there are several way, some very cumbersone... like mine...&lt;/P&gt;&lt;P&gt;So I really appreciated the simplicity and effectiveness of your script.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Giulio&lt;/P&gt;</description>
    <pubDate>Mon, 17 Jun 2019 12:41:46 GMT</pubDate>
    <dc:creator>giuval45</dc:creator>
    <dc:date>2019-06-17T12:41:46Z</dc:date>
    <item>
      <title>Transpose fields from one column of data</title>
      <link>https://community.qlik.com/t5/QlikView/Transpose-fields-from-one-column-of-data/m-p/1592324#M596906</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a data set extracted from Active Directory with Logoff information of the users:&lt;/P&gt;&lt;P&gt;The format of this file is:&lt;/P&gt;&lt;P&gt;"This event is generated when a logon session is destroyed. It may be positively correlated with a logon event using the Logon ID value. Logon IDs are only unique between reboots on the same computer."""&lt;BR /&gt;"Information,13/06/2019 00.00.20,Microsoft-Windows-Security-Auditing,4634,Logoff,""An account was logged off."&lt;/P&gt;&lt;P&gt;Subject:&lt;BR /&gt;" Security ID: SYSTEM"&lt;BR /&gt;" Account Name: SYSTEM"&lt;BR /&gt;" Account Domain: NT AUTHORITY"&lt;BR /&gt;" Logon ID: 0x2BBE225A6"&lt;/P&gt;&lt;P&gt;"Logon Type: 9"&lt;/P&gt;&lt;P&gt;"This event is generated when a logon session is destroyed. It may be positively correlated with a logon event using the Logon ID value. Logon IDs are only unique between reboots on the same computer."""&lt;BR /&gt;"Information,13/06/2019 00.00.20,Microsoft-Windows-Security-Auditing,4634,Logoff,""An account was logged off."&lt;/P&gt;&lt;P&gt;Subject:&lt;BR /&gt;" Security ID: SYSTEM"&lt;BR /&gt;" Account Name: SYSTEM"&lt;BR /&gt;" Account Domain: NT AUTHORITY"&lt;BR /&gt;" Logon ID: 0x2BBE229D2"&lt;/P&gt;&lt;P&gt;"Logon Type: 9&lt;/P&gt;&lt;P&gt;repeated for each gorup of records (more than 500.000 rows, for only one day...), as per the attached sample (the original is .csv, but is not possible to upload it...):&lt;/P&gt;&lt;P&gt;I need to obtain these fields in a flat file :&lt;/P&gt;&lt;P&gt;TimeStamp, SecurityID, AccountName, AccountDomain, LogonID, LogonType&lt;/P&gt;&lt;P&gt;13/06/2019 00.00.20,SYSTEM,SYSTEM,NT AUTHORITY,0x2BBE225A6,9&lt;/P&gt;&lt;P&gt;13/06/2019 00.00.20,SYSTEM,SYSTEM,NT AUTHORITY,0x2BBE229D2,9&lt;/P&gt;&lt;P&gt;in order to monitor all the accesses by the users.&lt;/P&gt;&lt;P&gt;I tried with Transpose but this move ALL the rows to one line. What is needed is a Transpose limited to 8 rows each time a sort of a "reversed Crosstab", in order to create the a/m columns of fields, with the data, for each group of Records.&lt;/P&gt;&lt;P&gt;Many thanks for your help.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Giulio&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 20:39:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transpose-fields-from-one-column-of-data/m-p/1592324#M596906</guid>
      <dc:creator>giuval45</dc:creator>
      <dc:date>2024-11-16T20:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: Transpose fields from one column of data</title>
      <link>https://community.qlik.com/t5/QlikView/Transpose-fields-from-one-column-of-data/m-p/1592504#M596907</link>
      <description>&lt;P&gt;There might be better solutions for your requirement like mine, but give it a try:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Load:
LOAD RowNo()-3 as RowNum,
	 textbetween(A,'Logon ID:','') as 	[Logon ID]

FROM
[C:\Users\admin\Downloads\Export-Test.xlsx]
(ooxml, no labels, table is Foglio2) Where A&amp;lt;&amp;gt;'';

left join

LOAD RowNo() as RowNum,
	 textbetween(A,'Security ID:','') as 	[Security ID]

FROM
[C:\Users\admin\Downloads\Export-Test.xlsx]
(ooxml, no labels, table is Foglio2) Where A&amp;lt;&amp;gt;'';

left join

LOAD RowNo()+2 as RowNum,
	 textbetween(A,'Information,',',Microsoft') as 	[Timestamp]

FROM
[C:\Users\admin\Downloads\Export-Test.xlsx]
(ooxml, no labels, table is Foglio2) Where A&amp;lt;&amp;gt;'';

left join

LOAD RowNo()-2 as RowNum,
	 textbetween(A,'Account Domain:','') as 	[Account Domain]

FROM
[C:\Users\admin\Downloads\Export-Test.xlsx]
(ooxml, no labels, table is Foglio2) Where A&amp;lt;&amp;gt;'';

left join

LOAD RowNo()-1 as RowNum,
	 textbetween(A,'Account Name:','') as 	[Account Name]

FROM
[C:\Users\admin\Downloads\Export-Test.xlsx]
(ooxml, no labels, table is Foglio2) Where A&amp;lt;&amp;gt;'';

left join

LOAD RowNo()-4 as RowNum,
	 textbetween(A,'Logon Type:','') as 	[Logon Type]

FROM
[C:\Users\admin\Downloads\Export-Test.xlsx]
(ooxml, no labels, table is Foglio2) Where A&amp;lt;&amp;gt;'';

NoConcatenate

Final:
Load * Resident Load Where Timestamp&amp;lt;&amp;gt;Null(); DROP Table Load; DROP Field RowNum;&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 17 Jun 2019 11:03:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transpose-fields-from-one-column-of-data/m-p/1592504#M596907</guid>
      <dc:creator>Frank_Hartmann</dc:creator>
      <dc:date>2019-06-17T11:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: Transpose fields from one column of data</title>
      <link>https://community.qlik.com/t5/QlikView/Transpose-fields-from-one-column-of-data/m-p/1592568#M596908</link>
      <description>&lt;P&gt;Hi Frank,&lt;/P&gt;&lt;P&gt;really many thanks...&lt;/P&gt;&lt;P&gt;Your solution is very simple, fast and "efficient"... &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Waiting for a reply from the Community, I worked on it and I obtained the same result with 12 (TWELVE!) ETL passages, some quite complex and using, at the end, also a Generic Load... &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Just to confirm that to connect two points, a part a straight line, there are several way, some very cumbersone... like mine...&lt;/P&gt;&lt;P&gt;So I really appreciated the simplicity and effectiveness of your script.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Giulio&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2019 12:41:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transpose-fields-from-one-column-of-data/m-p/1592568#M596908</guid>
      <dc:creator>giuval45</dc:creator>
      <dc:date>2019-06-17T12:41:46Z</dc:date>
    </item>
  </channel>
</rss>

