<?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 Need help in expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-help-in-expression/m-p/1306340#M406607</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have requirement for a store-sales the product margin should be calculated based on the sales &lt;/P&gt;&lt;P&gt;example: 0-500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; level1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 500-1000&amp;nbsp;&amp;nbsp; level2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1000-1500+&amp;nbsp; level3&lt;/P&gt;&lt;P&gt;i tried to use interval match but how can i calculate the sales based on the levels ,sample data was attached &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Jun 2017 10:27:08 GMT</pubDate>
    <dc:creator>saradhi_it</dc:creator>
    <dc:date>2017-06-30T10:27:08Z</dc:date>
    <item>
      <title>Need help in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-expression/m-p/1306340#M406607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have requirement for a store-sales the product margin should be calculated based on the sales &lt;/P&gt;&lt;P&gt;example: 0-500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; level1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 500-1000&amp;nbsp;&amp;nbsp; level2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1000-1500+&amp;nbsp; level3&lt;/P&gt;&lt;P&gt;i tried to use interval match but how can i calculate the sales based on the levels ,sample data was attached &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 10:27:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-expression/m-p/1306340#M406607</guid>
      <dc:creator>saradhi_it</dc:creator>
      <dc:date>2017-06-30T10:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-expression/m-p/1306341#M406608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do not see any issue in this . Well please explain me the motive of date here?&lt;/P&gt;&lt;P&gt;You can create sum all sales having margin &amp;gt;0 and &amp;lt;=500 as level 1. Post a sample app and explain the functionality.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 10:32:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-expression/m-p/1306341#M406608</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2017-06-30T10:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-expression/m-p/1306342#M406609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;where should i put in the expression for day1 sales 1000 and day2 sales 500 &lt;/P&gt;&lt;P&gt;my doubt how can i create condition based on date and and the level buckets &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 11:20:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-expression/m-p/1306342#M406609</guid>
      <dc:creator>saradhi_it</dc:creator>
      <dc:date>2017-06-30T11:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-expression/m-p/1306343#M406610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Pardha,&lt;/P&gt;&lt;P&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Maybe something along these lines:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pick(RangeMin(3,Ceil(Sum(Sales)/500)),&lt;/P&gt;&lt;P&gt;-------------, //Level 1 calculation here&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;-------------, //Level 2 calculation here&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;-------------, //Level 3 calculation here&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Cheers&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Andrew&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 12:20:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-expression/m-p/1306343#M406610</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2017-06-30T12:20:46Z</dc:date>
    </item>
  </channel>
</rss>

