<?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 Group By on Excel file in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Group-By-on-Excel-file/m-p/1517467#M749149</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;My Qlikview&amp;nbsp;document loads in an Excel table similar to the one below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LOAD&lt;BR /&gt;Rec_Ref,&lt;BR /&gt;Rep_Date,&lt;BR /&gt;[Audit Recommendations],&lt;BR /&gt;Rec_Ranking,&lt;BR /&gt;Systemic,&lt;BR /&gt;[Audit Report Name],&lt;BR /&gt;Division,&lt;BR /&gt;[Function Responsible],&lt;BR /&gt;[Location / Region],&lt;BR /&gt;[Assistant Head Responsible],&lt;BR /&gt;Email,&lt;BR /&gt;[Report Owner],&lt;BR /&gt;Email1,&lt;BR /&gt;[Contact Tel. No.],&lt;BR /&gt;Status,&lt;BR /&gt;[Date Rec Updated],&lt;BR /&gt;[Update on Recommendation],&lt;BR /&gt;[Update on Report],&lt;BR /&gt;[Update on Year],&lt;BR /&gt;[Movement from previous IA Report],&lt;BR /&gt;[Report to be Re-assigned],&lt;BR /&gt;[Recommendation with another Division],&lt;BR /&gt;[Report included in Internal Audit Division Report],&lt;BR /&gt;[Type of Audit Report],&lt;BR /&gt;CompTot,&lt;BR /&gt;If([Rec_Ranking]='H','1.H',if([Rec_Ranking]='M','2.M','3.L')) as [Rec_Rank_Ref],&lt;BR /&gt;if([Status]&amp;lt;&amp;gt;'Implemented/Superceded',1,0) as [O/S Rec Num],&lt;BR /&gt;if([Status]&amp;lt;&amp;gt;'Implemented/Superceded','Y','N') as [O/S Rec]&lt;/P&gt;&lt;P&gt;FROM&lt;BR /&gt;[audit recs.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is [Compdatabase]);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was looking to add the following to the script:&lt;/P&gt;&lt;P&gt;LOAD&lt;BR /&gt;Status,&lt;BR /&gt;SUM(CompTot) as&amp;nbsp;CompTot&lt;BR /&gt;GROUP By CompTot;&lt;/P&gt;&lt;P&gt;SQL SELECT Status,&lt;/P&gt;&lt;P&gt;CompTot&lt;BR /&gt;&lt;SPAN&gt;[audit recs.xlsx]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(ooxml, embedded labels, table is [Compdatabase]);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But it was giving me a Syntax error related to the SQL Select (I think).&lt;/P&gt;&lt;P&gt;Why would this be or where am I going wrong?&lt;/P&gt;&lt;P&gt;Thank you for reading.&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Group By on Excel file</title>
      <link>https://community.qlik.com/t5/QlikView/Group-By-on-Excel-file/m-p/1517467#M749149</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;My Qlikview&amp;nbsp;document loads in an Excel table similar to the one below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LOAD&lt;BR /&gt;Rec_Ref,&lt;BR /&gt;Rep_Date,&lt;BR /&gt;[Audit Recommendations],&lt;BR /&gt;Rec_Ranking,&lt;BR /&gt;Systemic,&lt;BR /&gt;[Audit Report Name],&lt;BR /&gt;Division,&lt;BR /&gt;[Function Responsible],&lt;BR /&gt;[Location / Region],&lt;BR /&gt;[Assistant Head Responsible],&lt;BR /&gt;Email,&lt;BR /&gt;[Report Owner],&lt;BR /&gt;Email1,&lt;BR /&gt;[Contact Tel. No.],&lt;BR /&gt;Status,&lt;BR /&gt;[Date Rec Updated],&lt;BR /&gt;[Update on Recommendation],&lt;BR /&gt;[Update on Report],&lt;BR /&gt;[Update on Year],&lt;BR /&gt;[Movement from previous IA Report],&lt;BR /&gt;[Report to be Re-assigned],&lt;BR /&gt;[Recommendation with another Division],&lt;BR /&gt;[Report included in Internal Audit Division Report],&lt;BR /&gt;[Type of Audit Report],&lt;BR /&gt;CompTot,&lt;BR /&gt;If([Rec_Ranking]='H','1.H',if([Rec_Ranking]='M','2.M','3.L')) as [Rec_Rank_Ref],&lt;BR /&gt;if([Status]&amp;lt;&amp;gt;'Implemented/Superceded',1,0) as [O/S Rec Num],&lt;BR /&gt;if([Status]&amp;lt;&amp;gt;'Implemented/Superceded','Y','N') as [O/S Rec]&lt;/P&gt;&lt;P&gt;FROM&lt;BR /&gt;[audit recs.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is [Compdatabase]);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was looking to add the following to the script:&lt;/P&gt;&lt;P&gt;LOAD&lt;BR /&gt;Status,&lt;BR /&gt;SUM(CompTot) as&amp;nbsp;CompTot&lt;BR /&gt;GROUP By CompTot;&lt;/P&gt;&lt;P&gt;SQL SELECT Status,&lt;/P&gt;&lt;P&gt;CompTot&lt;BR /&gt;&lt;SPAN&gt;[audit recs.xlsx]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(ooxml, embedded labels, table is [Compdatabase]);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But it was giving me a Syntax error related to the SQL Select (I think).&lt;/P&gt;&lt;P&gt;Why would this be or where am I going wrong?&lt;/P&gt;&lt;P&gt;Thank you for reading.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-By-on-Excel-file/m-p/1517467#M749149</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Group By on Excel file</title>
      <link>https://community.qlik.com/t5/QlikView/Group-By-on-Excel-file/m-p/1517478#M749150</link>
      <description>&lt;P&gt;i think you load statement is syntactically wrong, if you want to load using SQL you have to something like below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;xx_abc:&lt;BR /&gt;LOAD *;&lt;BR /&gt;SQL SELECT *&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM "xx_test";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i am not sure what you are trying to achieve by introducing new code but if you can describe in detail than it will help me to resolve this.&lt;/P&gt;&lt;P&gt;or if you can upload sample qvw and excel than also fine.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 14:56:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-By-on-Excel-file/m-p/1517478#M749150</guid>
      <dc:creator>parthesh</dc:creator>
      <dc:date>2018-12-06T14:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: Group By on Excel file</title>
      <link>https://community.qlik.com/t5/QlikView/Group-By-on-Excel-file/m-p/1517490#M749151</link>
      <description />
      <pubDate>Thu, 06 Dec 2018 15:03:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-By-on-Excel-file/m-p/1517490#M749151</guid>
      <dc:creator>Mark_Little</dc:creator>
      <dc:date>2018-12-06T15:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: Group By on Excel file</title>
      <link>https://community.qlik.com/t5/QlikView/Group-By-on-Excel-file/m-p/1517492#M749152</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;just resident the tablw you just loaded, should be quicker.&lt;BR /&gt;LOAD&lt;BR /&gt;Status,&lt;BR /&gt;SUM(CompTot) as CompTot&lt;BR /&gt;Resident Table&lt;BR /&gt;GROUP By CompTot;&lt;BR /&gt;&lt;BR /&gt;Table being the name you have given the first load.&lt;BR /&gt;&lt;BR /&gt;Mark</description>
      <pubDate>Thu, 06 Dec 2018 15:04:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-By-on-Excel-file/m-p/1517492#M749152</guid>
      <dc:creator>Mark_Little</dc:creator>
      <dc:date>2018-12-06T15:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: Group By on Excel file</title>
      <link>https://community.qlik.com/t5/QlikView/Group-By-on-Excel-file/m-p/1517505#M749153</link>
      <description>&lt;P&gt;Thanks, Parthesh.&lt;/P&gt;&lt;P&gt;Its hard to describe but I'll try.&lt;/P&gt;&lt;P&gt;My table has 400 total records.&lt;/P&gt;&lt;P&gt;200 are category 'open'&lt;/P&gt;&lt;P&gt;150 'closed'&lt;/P&gt;&lt;P&gt;50 'In Progress'&lt;/P&gt;&lt;P&gt;Ultimately I want to show these 3 KPIs (possibly) as a Text Object in the dashboard.&lt;/P&gt;&lt;P&gt;But I also need the '400' to be unaffected by Current Selections.&lt;/P&gt;&lt;P&gt;Therefore I was going to use the CompTot&amp;nbsp;field to sum to 400. Assign that to every record then get an Average of all the records which will mean it will always remain as 400 no matter the Current Selection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 15:26:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-By-on-Excel-file/m-p/1517505#M749153</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-06T15:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: Group By on Excel file</title>
      <link>https://community.qlik.com/t5/QlikView/Group-By-on-Excel-file/m-p/1517507#M749154</link>
      <description>&lt;P&gt;Thanks, Mark6505.&lt;/P&gt;&lt;P&gt;For some reason this is giving me an 'Invalid Expression' error.&lt;/P&gt;&lt;P&gt;Called my initial Load 'Audit1:'&lt;/P&gt;&lt;P&gt;Changed your '&lt;SPAN&gt;Resident Table' to&amp;nbsp;Resident Audit1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 15:29:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-By-on-Excel-file/m-p/1517507#M749154</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-06T15:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: Group By on Excel file</title>
      <link>https://community.qlik.com/t5/QlikView/Group-By-on-Excel-file/m-p/1517509#M749155</link>
      <description>Hi,&lt;BR /&gt;Probably down to a few things try the below.&lt;BR /&gt;&lt;BR /&gt;Noconcatenate&lt;BR /&gt;Table:&lt;BR /&gt;LOAD&lt;BR /&gt;Status,&lt;BR /&gt;SUM(CompTot) as CompTot2&lt;BR /&gt;Resident Audit1&lt;BR /&gt;GROUP By CompTot;&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Dec 2018 15:31:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-By-on-Excel-file/m-p/1517509#M749155</guid>
      <dc:creator>Mark_Little</dc:creator>
      <dc:date>2018-12-06T15:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: Group By on Excel file</title>
      <link>https://community.qlik.com/t5/QlikView/Group-By-on-Excel-file/m-p/1517515#M749156</link>
      <description>&lt;P&gt;i am not sure.. but by seeing your requirement i think this can be handled by expression it self.&lt;/P&gt;&lt;P&gt;you just have to put&lt;/P&gt;&lt;P&gt;=Count({&amp;lt;category={'Open'}&amp;gt;}(record_id))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=Count({&amp;lt;category={'Closed'}&amp;gt;}(record_id))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=Count({&amp;lt;category={'In Progress'}&amp;gt;}(record_id))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and for all 400 record count you can put&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=Count({1}(record_id))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 15:52:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-By-on-Excel-file/m-p/1517515#M749156</guid>
      <dc:creator>parthesh</dc:creator>
      <dc:date>2018-12-06T15:52:03Z</dc:date>
    </item>
  </channel>
</rss>

