<?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: same dimension twice in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/same-dimension-twice/m-p/327309#M1183485</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure, quite a simple demo:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transactions:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;recno() as TransID,&lt;/P&gt;&lt;P&gt;ceil(RAND()*100) as PersonID,&lt;/P&gt;&lt;P&gt;chr(floor(RAND()*10+65)) as Category&lt;/P&gt;&lt;P&gt;AutoGenerate 150;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;PersonID,&lt;/P&gt;&lt;P&gt;Category as Category2&lt;/P&gt;&lt;P&gt;resident Transactions;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I created a grid chart with dimensions Category and Category2 (note that you can re-label to have the same Name displayed), and expression &lt;/P&gt;&lt;P&gt;=if(Category&amp;lt;=Category2,count( distinct PersonID))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Nov 2011 16:41:48 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2011-11-17T16:41:48Z</dc:date>
    <item>
      <title>same dimension twice</title>
      <link>https://community.qlik.com/t5/QlikView/same-dimension-twice/m-p/327306#M1183477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the best/easiest/quickest way to use the same dimension twice is to create the same table again?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 15:07:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/same-dimension-twice/m-p/327306#M1183477</guid>
      <dc:creator />
      <dc:date>2011-11-17T15:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: same dimension twice</title>
      <link>https://community.qlik.com/t5/QlikView/same-dimension-twice/m-p/327307#M1183479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;rizo98,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure if this is the optimal way, but if you are looking for something like attached, at least I do it this way pretty often.&lt;/P&gt;&lt;P&gt;You don't need to copy the complete table, just the fields you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 15:25:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/same-dimension-twice/m-p/327307#M1183479</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-11-17T15:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: same dimension twice</title>
      <link>https://community.qlik.com/t5/QlikView/same-dimension-twice/m-p/327308#M1183482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I cant open the qv file as I only have the QV personal edition.&lt;/P&gt;&lt;P&gt;Would you be able to post the script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I do understand the idea of only copying the fields I need.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 16:36:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/same-dimension-twice/m-p/327308#M1183482</guid>
      <dc:creator />
      <dc:date>2011-11-17T16:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: same dimension twice</title>
      <link>https://community.qlik.com/t5/QlikView/same-dimension-twice/m-p/327309#M1183485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure, quite a simple demo:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transactions:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;recno() as TransID,&lt;/P&gt;&lt;P&gt;ceil(RAND()*100) as PersonID,&lt;/P&gt;&lt;P&gt;chr(floor(RAND()*10+65)) as Category&lt;/P&gt;&lt;P&gt;AutoGenerate 150;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;PersonID,&lt;/P&gt;&lt;P&gt;Category as Category2&lt;/P&gt;&lt;P&gt;resident Transactions;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I created a grid chart with dimensions Category and Category2 (note that you can re-label to have the same Name displayed), and expression &lt;/P&gt;&lt;P&gt;=if(Category&amp;lt;=Category2,count( distinct PersonID))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 16:41:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/same-dimension-twice/m-p/327309#M1183485</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-11-17T16:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: same dimension twice</title>
      <link>https://community.qlik.com/t5/QlikView/same-dimension-twice/m-p/327310#M1183487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For first dimension select the field normally.&lt;/P&gt;&lt;P&gt;For second dimension add calculated dimension as =fieldname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 17:29:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/same-dimension-twice/m-p/327310#M1183487</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2011-11-17T17:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: same dimension twice</title>
      <link>https://community.qlik.com/t5/QlikView/same-dimension-twice/m-p/327311#M1183489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My problem is slightly different.&lt;/P&gt;&lt;P&gt;you will recall this thread.&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/166041#166041"&gt;http://community.qlik.com/message/166041#166041&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a matrix table.&lt;/P&gt;&lt;P&gt;as shown in attached excel file&lt;/P&gt;&lt;P&gt;the QV is also attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 17:36:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/same-dimension-twice/m-p/327311#M1183489</guid>
      <dc:creator />
      <dc:date>2011-11-17T17:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: same dimension twice</title>
      <link>https://community.qlik.com/t5/QlikView/same-dimension-twice/m-p/327312#M1183492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I couldn't get your problem exactly but check with this,&lt;/P&gt;&lt;P&gt;Load the same table twice by changing the field names and the used the required fields&amp;nbsp; from the two table as dimension.&lt;BR /&gt;It will mostly a cross join.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 17:58:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/same-dimension-twice/m-p/327312#M1183492</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2011-11-17T17:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: same dimension twice</title>
      <link>https://community.qlik.com/t5/QlikView/same-dimension-twice/m-p/327313#M1183494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I slightly remember our last yesterday's discussion. How do you read this table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I assume rev is revenue and has something to do with Salesman ID, and Salesman ID1 determines the RevForDay, right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 18:10:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/same-dimension-twice/m-p/327313#M1183494</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-11-17T18:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: same dimension twice</title>
      <link>https://community.qlik.com/t5/QlikView/same-dimension-twice/m-p/327314#M1183496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want the table to display this:&lt;/P&gt;&lt;P&gt;Display the individual sales totals for the days my colleagues and I have worked together&lt;/P&gt;&lt;P&gt;so e.g. 2006 has worked with 2005 for 5 days and during these 5 days, he has made sales of 45000, then this should be displayed in the table/pivot along with other indivuals who have also worked on the day(s).&lt;/P&gt;&lt;P&gt;I hope i'm clear&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2011 12:38:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/same-dimension-twice/m-p/327314#M1183496</guid>
      <dc:creator />
      <dc:date>2011-11-18T12:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: same dimension twice</title>
      <link>https://community.qlik.com/t5/QlikView/same-dimension-twice/m-p/327315#M1183498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, I get different numbers, in your example 79375 for those 5 days. If this is correct, try&lt;/P&gt;&lt;P&gt;=sum( aggr(if(sum([List Price]), sum(total&amp;lt;[Salesman ID],Day&amp;gt; [List Price])), [Salesman ID1],[Salesman ID],Day))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2011 12:50:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/same-dimension-twice/m-p/327315#M1183498</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-11-18T12:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: same dimension twice</title>
      <link>https://community.qlik.com/t5/QlikView/same-dimension-twice/m-p/327316#M1183499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stefan,&lt;/P&gt;&lt;P&gt;79375 is the total for everybody together.&lt;/P&gt;&lt;P&gt;I would like totals by individual.&lt;/P&gt;&lt;P&gt;i hope i'm not putting you into too much bother&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2011 14:27:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/same-dimension-twice/m-p/327316#M1183499</guid>
      <dc:creator />
      <dc:date>2011-11-18T14:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: same dimension twice</title>
      <link>https://community.qlik.com/t5/QlikView/same-dimension-twice/m-p/327317#M1183500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you sure?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is what I get for the 5 days for CustomerID 2006:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE bgcolor="#ffffff" border="1" cellpadding="0" cellspacing="0" style="font-size: 9pt;"&gt;&lt;TBODY&gt;&lt;TR bgcolor="#f5f5f5"&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;Salesman ID&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;Day&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;sum([List Price])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR bgcolor="#f5f5f5"&gt;&lt;TD bgcolor="#f5f5f5"&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;&lt;STRONG&gt;79375&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;2006&lt;/SPAN&gt; &lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;1&lt;/SPAN&gt; &lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;4599&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;2006&lt;/SPAN&gt; &lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;4&lt;/SPAN&gt; &lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;4599&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;2006&lt;/SPAN&gt; &lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;7&lt;/SPAN&gt; &lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;1299&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;2006&lt;/SPAN&gt; &lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;9&lt;/SPAN&gt; &lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;41391&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;2006&lt;/SPAN&gt; &lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;11&lt;/SPAN&gt; &lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;27487&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2011 14:39:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/same-dimension-twice/m-p/327317#M1183500</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-11-18T14:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: same dimension twice</title>
      <link>https://community.qlik.com/t5/QlikView/same-dimension-twice/m-p/327318#M1183501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry, this is probably doing your head in&lt;/P&gt;&lt;P&gt;All I want to show is the total of salesman sales against other salesman for the number of days they have worked together.&lt;/P&gt;&lt;P&gt;I dont need to show the days which they have worked together, just the total&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2011 13:49:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/same-dimension-twice/m-p/327318#M1183501</guid>
      <dc:creator />
      <dc:date>2011-11-21T13:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: same dimension twice</title>
      <link>https://community.qlik.com/t5/QlikView/same-dimension-twice/m-p/327319#M1183502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So in conclusion I should get a table like below. (figures are not accurate)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="509"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="121"&gt;SalesmanA&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none;" width="121"&gt;SalesmanB&lt;/TD&gt;&lt;TD class="xl67" style="border-left: medium none;" width="267"&gt;Salesman A sales compared to SalesmanB&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" width="121"&gt;Salesman2005&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none;" width="121"&gt;Salesman2005&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-left: medium none;" width="267"&gt;65.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: medium none;" width="121"&gt;Salesman2005&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;" width="121"&gt;Salesman2007&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-left: medium none; border-top: medium none;" width="267"&gt;4500.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: medium none;" width="121"&gt;Salesman2005&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;" width="121"&gt;Salesman2008&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-left: medium none; border-top: medium none;" width="267"&gt;187.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: medium none;" width="121"&gt;Salesman2006&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;" width="121"&gt;Salesman2006&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-left: medium none; border-top: medium none;" width="267"&gt;415.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: medium none;" width="121"&gt;Salesman2006&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;" width="121"&gt;Salesman2007&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-left: medium none; border-top: medium none;" width="267"&gt;450.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: medium none;" width="121"&gt;Salesman2006&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;" width="121"&gt;Salesman2008&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-left: medium none; border-top: medium none;" width="267"&gt;441.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: medium none;" width="121"&gt;Salesman2006&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;" width="121"&gt;Salesman2009&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-left: medium none; border-top: medium none;" width="267"&gt;400.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: medium none;" width="121"&gt;Salesman2007&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;" width="121"&gt;Salesman2005&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-left: medium none; border-top: medium none;" width="267"&gt;65.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: medium none;" width="121"&gt;Salesman2007&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;" width="121"&gt;Salesman2006&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-left: medium none; border-top: medium none;" width="267"&gt;400.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: medium none;" width="121"&gt;Salesman2007&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;" width="121"&gt;Salesman2007&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-left: medium none; border-top: medium none;" width="267"&gt;5197.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: medium none;" width="121"&gt;Salesman2007&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;" width="121"&gt;Salesman2008&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-left: medium none; border-top: medium none;" width="267"&gt;906.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: medium none;" width="121"&gt;Salesman2007&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;" width="121"&gt;Salesman2009&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-left: medium none; border-top: medium none;" width="267"&gt;652.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: medium none;" width="121"&gt;Salesman2008&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;" width="121"&gt;Salesman2005&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-left: medium none; border-top: medium none;" width="267"&gt;65.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: medium none;" width="121"&gt;Salesman2008&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;" width="121"&gt;Salesman2006&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-left: medium none; border-top: medium none;" width="267"&gt;415.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: medium none;" width="121"&gt;Salesman2008&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;" width="121"&gt;Salesman2007&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-left: medium none; border-top: medium none;" width="267"&gt;5197.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: medium none;" width="121"&gt;Salesman2008&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;" width="121"&gt;Salesman2008&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-left: medium none; border-top: medium none;" width="267"&gt;8042.50&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: medium none;" width="121"&gt;Salesman2008&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;" width="121"&gt;Salesman2009&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-left: medium none; border-top: medium none;" width="267"&gt;652.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: medium none;" width="121"&gt;Salesman2009&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;" width="121"&gt;Salesman2006&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-left: medium none; border-top: medium none;" width="267"&gt;400.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: medium none;" width="121"&gt;Salesman2009&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;" width="121"&gt;Salesman2007&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-left: medium none; border-top: medium none;" width="267"&gt;697.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: medium none;" width="121"&gt;Salesman2009&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;" width="121"&gt;Salesman2008&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-left: medium none; border-top: medium none;" width="267"&gt;719.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: medium none;" width="121"&gt;Salesman2009&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;" width="121"&gt;Salesman2009&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-left: medium none; border-top: medium none;" width="267"&gt;652.00&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2011 13:55:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/same-dimension-twice/m-p/327319#M1183502</guid>
      <dc:creator />
      <dc:date>2011-11-21T13:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: same dimension twice</title>
      <link>https://community.qlik.com/t5/QlikView/same-dimension-twice/m-p/327320#M1183503</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;sorry, this is probably doing your head in&lt;/P&gt;&lt;P&gt;All I want to show is the total of salesman sales against other salesman for the number of days they have worked together.&lt;/P&gt;&lt;P&gt;I dont need to show the days which they have worked together, just the total&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;I think I understand. I just wanted to ask you to recheck the total sum under question. For the common days that Salesman2005 and Salesman2006 have worked together, I get days 1,4,7,9,11. The above table is only to demonstrate that Salesman 2006 alone has a total sales for those days of 79375. &lt;/P&gt;&lt;P&gt;You said this is the value for all Salesman, and I was not able to confirm that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2011 17:07:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/same-dimension-twice/m-p/327320#M1183503</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-11-21T17:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: same dimension twice</title>
      <link>https://community.qlik.com/t5/QlikView/same-dimension-twice/m-p/327321#M1183504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stefan,&lt;/P&gt;&lt;P&gt;"I think I understand. I just wanted to ask you to recheck the total sum under question. For the common days that Salesman2005 and Salesman2006 have worked together, I get days 1,4,7,9,11. The above table is only to demonstrate that Salesman 2006 alone has a total sales for those days of 79375."&lt;/P&gt;&lt;P&gt;the above is absolutely correct.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;so Salesman2006 will have 79375 against Salesman2005.&lt;/P&gt;&lt;P&gt;Salesman2005 will also have his 60181 in same table (table format above)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2011 09:26:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/same-dimension-twice/m-p/327321#M1183504</guid>
      <dc:creator />
      <dc:date>2011-11-22T09:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: same dimension twice</title>
      <link>https://community.qlik.com/t5/QlikView/same-dimension-twice/m-p/327322#M1183505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, but these are the numbers that my above posted expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;﻿=sum( aggr(if(sum([List Price]), sum(total&amp;lt;[Salesman ID],Day&amp;gt; [List Price])), [Salesman ID1],[Salesman ID],Day))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is giving, aren't they?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please have a look at attached sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2011 11:15:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/same-dimension-twice/m-p/327322#M1183505</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-11-22T11:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: same dimension twice</title>
      <link>https://community.qlik.com/t5/QlikView/same-dimension-twice/m-p/327323#M1183507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stefan,&lt;/P&gt;&lt;P&gt;I have QV personal edition so I cannot opeb the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum( aggr(if(sum([List Price]), sum(total&amp;lt;[Salesman ID],Day&amp;gt; [List Price])), [Salesman ID1],[Salesman ID],Day))&lt;/P&gt;&lt;P&gt;This does the tirck. Thank you very much.&lt;/P&gt;&lt;P&gt;But now I cant get the total of Rev in table Rev to display next to A-B in the attached sheet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2011 12:18:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/same-dimension-twice/m-p/327323#M1183507</guid>
      <dc:creator />
      <dc:date>2011-11-22T12:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: same dimension twice</title>
      <link>https://community.qlik.com/t5/QlikView/same-dimension-twice/m-p/327324#M1183509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That was a bit tricky, please try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= num(sum(total&amp;lt;[Salesman ID]&amp;gt; aggr( if(sum({1}[List Price]), sum(total&amp;lt;Day&amp;gt; {1}[List Price])), [Salesman ID],Day,[Salesman ID])),'##0')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to get the Rev column in your table with both Salesman ID and Salesman ID1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this correct,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit:&lt;/P&gt;&lt;P&gt;a &lt;/P&gt;&lt;P&gt;= num(sum(total&amp;lt;[Salesman ID]&amp;gt; aggr( if(sum({1}[List Price]), sum(total&amp;lt;Day&amp;gt; {1}[List Price])), [Salesman ID],Day)),'##0')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;should be enough, there was an additional Salesman ID dimension in aggr by mistake.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2011 15:13:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/same-dimension-twice/m-p/327324#M1183509</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-11-22T15:13:37Z</dc:date>
    </item>
    <item>
      <title>same dimension twice</title>
      <link>https://community.qlik.com/t5/QlikView/same-dimension-twice/m-p/327325#M1183510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exactly what I need Stefan.&lt;/P&gt;&lt;P&gt;thank you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2011 17:57:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/same-dimension-twice/m-p/327325#M1183510</guid>
      <dc:creator />
      <dc:date>2011-11-22T17:57:19Z</dc:date>
    </item>
  </channel>
</rss>

