<?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 Help in set analyses in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-in-set-analyses/m-p/394185#M1152141</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help me achive this:&amp;nbsp; &lt;/P&gt;&lt;P&gt;LOAD * INLINE &lt;BR /&gt;[ &lt;BR /&gt;desk, ord, hourr, rev &lt;BR /&gt;desk1,&amp;nbsp;&amp;nbsp;&amp;nbsp; order1, 2012-10-01-17.17.54.000000, 200 &lt;BR /&gt;desk1,&amp;nbsp;&amp;nbsp;&amp;nbsp; order2, 2012-10-01-21.17.54.000000, 300 &lt;BR /&gt;desk1,&amp;nbsp;&amp;nbsp;&amp;nbsp; order3, 2012-10-01-12.17.54.000000, 400 &lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to show desk and sum of revenue in a straight table. Sum of revenue should be - where hour part in the timestamp is greater than 20 )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help with a set analyses syntax. what i was trying to do here: &lt;BR /&gt;Hour(Timestamp#(hourr, 'YYYY-MM-DD-HH.mm.ss.ffffff')) &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;i created this formula to get hour part of it but i am not able to use in it set analyses syntax. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;$(=Hour(Timestamp#(hourr, 'YYYY-MM-DD-HH.mm.ss.ffffff')) = {"&amp;gt;=20"})&amp;gt;} &lt;/P&gt;&lt;P&gt;it seems like it does not take expression on both the sides. &lt;/P&gt;&lt;P&gt;I know if i calculate it in the script, i can easily achieve this. but don't want to anything with teh script.. Thanks all &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; regards,&lt;/P&gt;&lt;P&gt;Manish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Apr 2013 10:05:51 GMT</pubDate>
    <dc:creator>manishnarang</dc:creator>
    <dc:date>2013-04-24T10:05:51Z</dc:date>
    <item>
      <title>Help in set analyses</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-set-analyses/m-p/394185#M1152141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help me achive this:&amp;nbsp; &lt;/P&gt;&lt;P&gt;LOAD * INLINE &lt;BR /&gt;[ &lt;BR /&gt;desk, ord, hourr, rev &lt;BR /&gt;desk1,&amp;nbsp;&amp;nbsp;&amp;nbsp; order1, 2012-10-01-17.17.54.000000, 200 &lt;BR /&gt;desk1,&amp;nbsp;&amp;nbsp;&amp;nbsp; order2, 2012-10-01-21.17.54.000000, 300 &lt;BR /&gt;desk1,&amp;nbsp;&amp;nbsp;&amp;nbsp; order3, 2012-10-01-12.17.54.000000, 400 &lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to show desk and sum of revenue in a straight table. Sum of revenue should be - where hour part in the timestamp is greater than 20 )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help with a set analyses syntax. what i was trying to do here: &lt;BR /&gt;Hour(Timestamp#(hourr, 'YYYY-MM-DD-HH.mm.ss.ffffff')) &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;i created this formula to get hour part of it but i am not able to use in it set analyses syntax. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;$(=Hour(Timestamp#(hourr, 'YYYY-MM-DD-HH.mm.ss.ffffff')) = {"&amp;gt;=20"})&amp;gt;} &lt;/P&gt;&lt;P&gt;it seems like it does not take expression on both the sides. &lt;/P&gt;&lt;P&gt;I know if i calculate it in the script, i can easily achieve this. but don't want to anything with teh script.. Thanks all &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; regards,&lt;/P&gt;&lt;P&gt;Manish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 10:05:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-set-analyses/m-p/394185#M1152141</guid>
      <dc:creator>manishnarang</dc:creator>
      <dc:date>2013-04-24T10:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: Help in set analyses</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-set-analyses/m-p/394186#M1152142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;hourr={"=hour(timestamp#(hourr,'YYYY-MM-DD-HH.mm.ss.ffffff'))&amp;gt;=20"}&amp;gt;} rev)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 13:22:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-set-analyses/m-p/394186#M1152142</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-04-24T13:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: Help in set analyses</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-set-analyses/m-p/394187#M1152143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;desk1,&amp;nbsp;&amp;nbsp;&amp;nbsp; order1, 2012-10-01-17.17.54.000000, 200 &lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can get the hour part using mid()&lt;/P&gt;&lt;P&gt;=mid('2012-10-01-12.17.54.000000',15,2) or =mid('hourr',15,2)&lt;/P&gt;&lt;P&gt;will get you "17"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[mid('hourr',15,2)]={'20'}&amp;gt;}rev)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 13:44:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-set-analyses/m-p/394187#M1152143</guid>
      <dc:creator />
      <dc:date>2013-04-24T13:44:46Z</dc:date>
    </item>
  </channel>
</rss>

