<?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: Re: Distinguishing between 5 different values and calculating the cost for each value in their own column in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Distinguishing-between-5-different-values-and-calculating-the/m-p/717933#M1076142</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Uses AGGR statement to provide the project overall costs as a calculated dimension while the PIVOT table presents the costs by Staff office.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Jul 2014 14:41:57 GMT</pubDate>
    <dc:creator>DavidFoster1</dc:creator>
    <dc:date>2014-07-21T14:41:57Z</dc:date>
    <item>
      <title>Distinguishing between 5 different values and calculating the cost for each value in their own column</title>
      <link>https://community.qlik.com/t5/QlikView/Distinguishing-between-5-different-values-and-calculating-the/m-p/717927#M1076136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Some much needed help on this would be very much appreciated. I couldn't think of a title to best fit what I was trying to ask, but I hope someone will understand and provide a suitable solution, as my head is about to explode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to calculate the cost of work done for the different offices outside its own office (different regions within our company)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So a Project may be awarded in the north office but a salesperson from either the south, east or west office may complete a number of activities amongst many of the activities within that project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need a column for each different office showing the total cost for the current selected month (PeriodDate). Something like this:&lt;/P&gt;&lt;P style="margin-left: 36.0pt;"&gt;So for this ProjectNo (a dimension in my straight table), sum the &lt;SPAN style="text-decoration: underline;"&gt;Cost&lt;/SPAN&gt; of the activities which have a &lt;SPAN style="text-decoration: underline;"&gt;SalesPerson&lt;/SPAN&gt; with a &lt;SPAN style="text-decoration: underline;"&gt;StaffOffice&lt;/SPAN&gt; not equal to the projects &lt;SPAN style="text-decoration: underline;"&gt;Office&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: 36.0pt;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This is how my tables link up: (As daft as it seems there is no StaffNo FK in the activities table)&lt;/P&gt;&lt;TABLE border="1" cellpadding="0" cellspacing="0" style="border: none;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="140"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;Project&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid windowtext 1.0pt; border-left: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="113"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;Activity&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid windowtext 1.0pt; border-left: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="104"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;Staff&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; border-top: none; background: #C6D9F1; padding: 0 5.4pt 0 5.4pt;" valign="top" width="140"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;ProjectNo - PK&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #C6D9F1; padding: 0 5.4pt 0 5.4pt;" valign="top" width="113"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;ProjectNo - FK&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="104"&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="140"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Office&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #F2DBDB; padding: 0 5.4pt 0 5.4pt;" valign="top" width="113"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;SalesPerson&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #F2DBDB; padding: 0 5.4pt 0 5.4pt;" valign="top" width="104"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;SalesPerson&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="140"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;ProjectTotalValue&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="113"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Cost&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="104"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;StaffOffice&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="140"&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="113"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;PeriodDate&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="104"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;StaffNo PK&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="140"&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="113"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;ActivityNo PK&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="104"&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="140"&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="113"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Status&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="104"&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user has two key selections to filter the projects, one by the ‘PeriodDate’ which I was using this to show the completed value for current and previous month:&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon;"&gt;Status&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;={'COMPLETED'}, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon;"&gt;PeriodDate&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon;"&gt;"$(=date(addmonths(PeriodDate,-1),'YY-MM'))"&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon;"&gt;Cost&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other option is by ‘Office’ dictating which projects are shown.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance for taking the time to read this.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2014 11:24:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinguishing-between-5-different-values-and-calculating-the/m-p/717927#M1076136</guid>
      <dc:creator />
      <dc:date>2014-07-21T11:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: Distinguishing between 5 different values and calculating the cost for each value in their own column</title>
      <link>https://community.qlik.com/t5/QlikView/Distinguishing-between-5-different-values-and-calculating-the/m-p/717928#M1076137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Richard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can u please post your app, so that will get better understanding of the data and problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;@vi &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2014 11:58:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinguishing-between-5-different-values-and-calculating-the/m-p/717928#M1076137</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2014-07-21T11:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: Distinguishing between 5 different values and calculating the cost for each value in their own column</title>
      <link>https://community.qlik.com/t5/QlikView/Distinguishing-between-5-different-values-and-calculating-the/m-p/717929#M1076138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A table including Staff Office and a Cost expression should show the breakdown costs. Your set expression is not helping though. If you want current month and previous month then you have a couple of options:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Have a calendar that identifies these months and then a filter button that selects these months&lt;/P&gt;&lt;P&gt;2) Include both months in you set analysis either by have them listed or by using the + operator on two separate sets. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2014 12:17:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinguishing-between-5-different-values-and-calculating-the/m-p/717929#M1076138</guid>
      <dc:creator>DavidFoster1</dc:creator>
      <dc:date>2014-07-21T12:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: Distinguishing between 5 different values and calculating the cost for each value in their own column</title>
      <link>https://community.qlik.com/t5/QlikView/Distinguishing-between-5-different-values-and-calculating-the/m-p/717930#M1076139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wouldn't a very simple SUM(IF(Office &amp;lt;&amp;gt; StaffOffice, Cost)) do the job?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2014 12:21:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinguishing-between-5-different-values-and-calculating-the/m-p/717930#M1076139</guid>
      <dc:creator>struniger</dc:creator>
      <dc:date>2014-07-21T12:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: Distinguishing between 5 different values and calculating the cost for each value in their own column</title>
      <link>https://community.qlik.com/t5/QlikView/Distinguishing-between-5-different-values-and-calculating-the/m-p/717931#M1076140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all for getting back to me, I have attached a sample as&lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;SPAN style="text-decoration: underline;"&gt;&lt;A href="https://community.qlik.com/qlik-users/130924"&gt;Avinash R&lt;/A&gt;&lt;/SPAN&gt;&lt;/STRONG&gt; suggested, so hopefully you will better understand the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/94596"&gt;David Foster&lt;/A&gt;: I have two list boxes, one for the PeriodDate displaying the months as 14-06 (June 2014) etc and then the other displaying the offices&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My expression does work in my straight table for the purpose of showing current month: &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon;"&gt;Status&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;={'COMPLETED'}, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon;"&gt;PeriodDate&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon;"&gt;"$(=date(addmonths(PeriodDate,-0),'YY-MM'))"&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon;"&gt;Cost&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;and previous month:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon;"&gt;Status&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;={'COMPLETED'}, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon;"&gt;PeriodDate&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon;"&gt;"$(=date(addmonths(PeriodDate,-1),'YY-MM'))"&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon;"&gt;Cost&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/31269"&gt;Stefan Truniger&lt;/A&gt;:&lt;/P&gt;&lt;P&gt;That expression does work, but I believe it's adding up all the other offices in one column. Where as I would like to show it like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="0" cellspacing="0" style="border: none;" width="669"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colspan="3" style="border: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="253"&gt;&lt;P align="center"&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD colspan="4" style="border: solid windowtext 1.0pt; border-left: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="265"&gt;&lt;P align="center" style="margin-bottom: .0001pt; text-align: center;"&gt;Value by Office for Current Period&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid windowtext 1.0pt; border-left: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="151"&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="64"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Office&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="69"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Project&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="120"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Project Total&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="66"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;North&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="66"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;South&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="66"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;East&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="66"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;West&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="151"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Current Period Total&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="64"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;North&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="69"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;PR0001&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="120"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;£2000&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="66"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;£300&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="66"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;£0&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="66"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;£100&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="66"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;£100&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="151"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;£500&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2014 14:25:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinguishing-between-5-different-values-and-calculating-the/m-p/717931#M1076140</guid>
      <dc:creator />
      <dc:date>2014-07-21T14:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Distinguishing between 5 different values and calculating the cost for each value in their own column</title>
      <link>https://community.qlik.com/t5/QlikView/Distinguishing-between-5-different-values-and-calculating-the/m-p/717932#M1076141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about this? See attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2014 14:36:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinguishing-between-5-different-values-and-calculating-the/m-p/717932#M1076141</guid>
      <dc:creator>struniger</dc:creator>
      <dc:date>2014-07-21T14:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Distinguishing between 5 different values and calculating the cost for each value in their own column</title>
      <link>https://community.qlik.com/t5/QlikView/Distinguishing-between-5-different-values-and-calculating-the/m-p/717933#M1076142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Uses AGGR statement to provide the project overall costs as a calculated dimension while the PIVOT table presents the costs by Staff office.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2014 14:41:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinguishing-between-5-different-values-and-calculating-the/m-p/717933#M1076142</guid>
      <dc:creator>DavidFoster1</dc:creator>
      <dc:date>2014-07-21T14:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: Distinguishing between 5 different values and calculating the cost for each value in their own column</title>
      <link>https://community.qlik.com/t5/QlikView/Distinguishing-between-5-different-values-and-calculating-the/m-p/717934#M1076143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for that, exactly what I needed. I did adapt it slightly so I could have it in a straight table, mainly because there was value completed which hadn't been allocated to a staff member and I wanted to identify this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;A_S={'Completed'}, ACTIVITY_PERIODDATE={"$(=date(addmonths(INVOICE_PERIODDATE, 0), 'YY-MM'))"}&amp;gt;} IF(STAFFOFFICE ='ANO-Asbestos North', COST))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My apologies for the delayed response, it took me a while to get a developer license so I could view the both your's and David's test sample. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/94596"&gt;David Foster&lt;/A&gt;: Thank you for your help but unfortunately it wasn't quite what I was looking for.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 11:01:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinguishing-between-5-different-values-and-calculating-the/m-p/717934#M1076143</guid>
      <dc:creator />
      <dc:date>2014-08-12T11:01:17Z</dc:date>
    </item>
  </channel>
</rss>

