<?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: Straight Table calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Straight-Table-calculation/m-p/952825#M958553</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;How to achieve the result that appear in third table from first two tables?help me..&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG __jive_id="109827" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/109827_Capture.PNG" style="height: auto;" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Table 2&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;IMG __jive_id="109828" alt="unnamed.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/109828_unnamed.png" style="height: auto;" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Result&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;IMG __jive_id="109841" alt="d.PNG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/109841_d.PNG" style="height: 264px; width: 620px;" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 9.5pt; font-family: 'Verdana',sans-serif; color: black;"&gt;Sales will be done only based on the above pricing table, where 'Start' and 'End' field defines Quantity Range,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 9.5pt; font-family: 'Verdana',sans-serif; color: black;"&gt;Example,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 9.5pt; font-family: 'Verdana',sans-serif; color: black;"&gt;Product A will be sold in the price of Rupees 100 per quantity between 1-3 (qty)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 9.5pt; font-family: 'Verdana',sans-serif; color: black;"&gt;The 4th qty will be sold in the price of rupees 110.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Dec 2015 11:27:25 GMT</pubDate>
    <dc:creator>silambarasan</dc:creator>
    <dc:date>2015-12-23T11:27:25Z</dc:date>
    <item>
      <title>Straight Table calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-calculation/m-p/952816#M958544</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;I am currently using a straight table for calculating the sum(sales) between start date and end date&lt;/P&gt;&lt;P&gt;my dimensions are branch, &lt;SPAN style="font-size: 13.3333px;"&gt;start date and end date and sales date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;sales date is always between &lt;SPAN style="font-size: 13.3333px;"&gt;start date and end date&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;my expression is &lt;SPAN style="font-size: 13.3333px;"&gt;sum(sales)&amp;nbsp; for sales and sum(Daily_Targets)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;it is summing up the sales &lt;STRONG&gt;correctly&lt;/STRONG&gt; between &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;start date and end date&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;but when i use&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;sum(Daily_Targets) it is &lt;STRONG&gt;not summing up&lt;/STRONG&gt; the &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Daily_Targets&lt;/STRONG&gt; between the &lt;SPAN style="font-size: 13.3333px;"&gt;start date and end date&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2015 10:45:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-calculation/m-p/952816#M958544</guid>
      <dc:creator />
      <dc:date>2015-11-06T10:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-calculation/m-p/952817#M958545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How does your data model look like?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's hard to answer your question with the information provided. It would be best if you can upload a small sample QVW.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2015 10:57:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-calculation/m-p/952817#M958545</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-11-06T10:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-calculation/m-p/952818#M958546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI &lt;SPAN style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;A _jive_internal="true" data-avatarid="-1" data-userid="15823" data-username="swuehl" href="https://community.qlik.com/people/swuehl" style="padding: 0 3px 0 0; font-weight: inherit; font-style: inherit; font-size: 1.1em; font-family: inherit; color: #3778c7; text-decoration: underline;"&gt;swuehl&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i try to create a small sample my conditions are working correctly&lt;/P&gt;&lt;P&gt;but not working in my actual data&lt;/P&gt;&lt;P&gt;here i a sample exactly like my actual data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2015 11:09:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-calculation/m-p/952818#M958546</guid>
      <dc:creator />
      <dc:date>2015-11-06T11:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-calculation/m-p/952819#M958547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sth wrong with this statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Week Target]/(EndDate - StartDate+1)&amp;nbsp; as Daily_Target,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you are trying to achieve, Day level Targets?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2015 11:15:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-calculation/m-p/952819#M958547</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-06T11:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-calculation/m-p/952820#M958548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your target values will be duplicated by the LEFT JOIN of your sales facts when there are more than 1 sales per date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2819"&gt;Fact Table with Mixed Granularity&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and the referenced tech note.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2015 11:18:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-calculation/m-p/952820#M958548</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-11-06T11:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-calculation/m-p/952821#M958549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Balraj&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have multiple rows for every single branch between the start Date and End Date&lt;/P&gt;&lt;P&gt;so i need to map the sale date between the &lt;SPAN style="font-size: 13.3333px;"&gt;start Date and End Date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2015 11:19:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-calculation/m-p/952821#M958549</guid>
      <dc:creator />
      <dc:date>2015-11-06T11:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-calculation/m-p/952822#M958550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;okay, then&amp;nbsp; follow Swuehi suggestion&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2015 11:21:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-calculation/m-p/952822#M958550</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-06T11:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-calculation/m-p/952823#M958551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also start with a concatenated sales and target table, like shown in attached sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will notice that you split your weekly targets into 5 parts, but you will have sales on dates that are not part of your start-end intervals.&lt;/P&gt;&lt;P&gt;(which you lost in your previous sample). &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2015 11:27:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-calculation/m-p/952823#M958551</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-11-06T11:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-calculation/m-p/952824#M958552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you &lt;STRONG style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A _jive_internal="true" class="jiveTT-hover-user jive-link-profile-small" data-containerid="-1" data-containertype="-1" data-objectid="15823" data-objecttype="3" href="https://community.qlik.com/people/swuehl" style="font-weight: inherit; font-style: inherit; font-size: 11.7px; font-family: inherit; color: #3778c7; text-decoration: underline;"&gt;swuehl&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it worked &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2015 11:38:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-calculation/m-p/952824#M958552</guid>
      <dc:creator />
      <dc:date>2015-11-06T11:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-calculation/m-p/952825#M958553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;How to achieve the result that appear in third table from first two tables?help me..&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG __jive_id="109827" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/109827_Capture.PNG" style="height: auto;" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Table 2&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;IMG __jive_id="109828" alt="unnamed.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/109828_unnamed.png" style="height: auto;" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Result&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;IMG __jive_id="109841" alt="d.PNG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/109841_d.PNG" style="height: 264px; width: 620px;" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 9.5pt; font-family: 'Verdana',sans-serif; color: black;"&gt;Sales will be done only based on the above pricing table, where 'Start' and 'End' field defines Quantity Range,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 9.5pt; font-family: 'Verdana',sans-serif; color: black;"&gt;Example,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 9.5pt; font-family: 'Verdana',sans-serif; color: black;"&gt;Product A will be sold in the price of Rupees 100 per quantity between 1-3 (qty)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 9.5pt; font-family: 'Verdana',sans-serif; color: black;"&gt;The 4th qty will be sold in the price of rupees 110.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2015 11:27:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-calculation/m-p/952825#M958553</guid>
      <dc:creator>silambarasan</dc:creator>
      <dc:date>2015-12-23T11:27:25Z</dc:date>
    </item>
  </channel>
</rss>

