<?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: How to write expression? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-write-expression/m-p/709574#M1084522</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;would this be possible to create?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jun 2014 09:25:10 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-06-19T09:25:10Z</dc:date>
    <item>
      <title>How to write expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-expression/m-p/709572#M1084517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can&amp;nbsp; anyone help me with the expression please&lt;/P&gt;&lt;P&gt;attached is the table which should be build in report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;week is in horizontal as week1, week2,week3,week4&lt;/P&gt;&lt;P&gt;for eg: 207 is the difference of count of id if we take today. i,e today(wednesday)&amp;nbsp; minus last week(last wednesday) where Type= 'close','close/forward'&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 78 is the difference of count of id if we take today. i,e today(wednesday)&amp;nbsp; minus last week(last wednesday) where Type=&amp;nbsp;&amp;nbsp;&amp;nbsp; 'fail','fail/forward'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 09:00:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-expression/m-p/709572#M1084517</guid>
      <dc:creator />
      <dc:date>2014-06-19T09:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to write expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-expression/m-p/709573#M1084519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please see attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 09:01:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-expression/m-p/709573#M1084519</guid>
      <dc:creator />
      <dc:date>2014-06-19T09:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to write expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-expression/m-p/709574#M1084522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;would this be possible to create?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 09:25:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-expression/m-p/709574#M1084522</guid>
      <dc:creator />
      <dc:date>2014-06-19T09:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to write expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-expression/m-p/709575#M1084524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you asking because you can't do it yourself or because you can't bother doing it yourself?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A pivottable would work just fine and you just need to drag the Week-dimension horizontally.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 12:49:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-expression/m-p/709575#M1084524</guid>
      <dc:creator>simondachstr</dc:creator>
      <dc:date>2014-06-19T12:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to write expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-expression/m-p/709576#M1084525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried all but not working. only I have to show is the differences. So, I would need the expression. Is that possible? Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can get direct with dimension Week and expression as count(ID) . but here this is not the requirement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 12:54:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-expression/m-p/709576#M1084525</guid>
      <dc:creator />
      <dc:date>2014-06-19T12:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to write expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-expression/m-p/709577#M1084526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh I see,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will need to write two expressions. One for close, one for fail.&lt;/P&gt;&lt;P&gt;Use set analysis e.g.&lt;/P&gt;&lt;P&gt;Expression 1&lt;/P&gt;&lt;P&gt;Count({Type={'close,'close/forward'} ID)-Count({Type={'close,'close/forward', Week={'$(=Week-1)'} ID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression 2&lt;/P&gt;&lt;P&gt;Count({Type={'fail','fail/forward'} ID)-Count({Type={'fail','fail/forward', Week={'$(=Week-1)'} ID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure if Week={'$(=Week-1)'} part would work - if possible can you upload a data set of what you are currently using?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 13:22:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-expression/m-p/709577#M1084526</guid>
      <dc:creator>simondachstr</dc:creator>
      <dc:date>2014-06-19T13:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to write expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-expression/m-p/709578#M1084528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. will try and let you know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 13:43:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-expression/m-p/709578#M1084528</guid>
      <dc:creator />
      <dc:date>2014-06-19T13:43:53Z</dc:date>
    </item>
  </channel>
</rss>

