<?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 multiple ID's for one person in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/multiple-ID-s-for-one-person/m-p/266497#M1204498</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To be more clear...&lt;/P&gt;&lt;P&gt;Every salesman has a number, on any transaction, that number can be associated in the SLM1 field or the SLM2 field.&lt;/P&gt;&lt;P&gt;When a transaction is completed, a percentage of the sales dollars is credited to SLM 1 and the rest to SLM2. This percentage can change on each transaction.&lt;/P&gt;&lt;P&gt;When I want to do an analysis of a specific salesman, I want qlikview to pull the sales dollar when the saleman is assocaited with SLM 1 and the sales dolalrs when the salesman is associated with SLM2. To get a total amount associated with the salesman.&lt;/P&gt;&lt;P&gt;If my statement were to be SUM(sales) SLM1 and SLM2 where SLM1 = SLM2 I would get zero as SLM1 will never = SLM2 on a given transaction.&lt;/P&gt;&lt;P&gt;Does anyone have any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Jul 2010 21:03:56 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-07-20T21:03:56Z</dc:date>
    <item>
      <title>multiple ID's for one person</title>
      <link>https://community.qlik.com/t5/QlikView/multiple-ID-s-for-one-person/m-p/266496#M1204497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have an interesting scenario, hoping someone can give me some guidance...&lt;/P&gt;&lt;P&gt;I have a table of sales transaction. Each transaction can have a salesman1 and a salesman2. When I want to do an analysis of John Smith, I want the results to show all sales he was involved in whether he was labelled as salesman1 or salesman2 on the transaction. The salesman1/2 are ID's not names. Currently I have a seperate table linking all the ID's of salesman1 to a name.&lt;/P&gt;&lt;P&gt;In addition, the sales amount attributed to salesman1 and 2 differ on each transaction.&lt;/P&gt;&lt;P&gt;I hope this was clear....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jul 2010 19:11:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/multiple-ID-s-for-one-person/m-p/266496#M1204497</guid>
      <dc:creator />
      <dc:date>2010-07-20T19:11:32Z</dc:date>
    </item>
    <item>
      <title>multiple ID's for one person</title>
      <link>https://community.qlik.com/t5/QlikView/multiple-ID-s-for-one-person/m-p/266497#M1204498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To be more clear...&lt;/P&gt;&lt;P&gt;Every salesman has a number, on any transaction, that number can be associated in the SLM1 field or the SLM2 field.&lt;/P&gt;&lt;P&gt;When a transaction is completed, a percentage of the sales dollars is credited to SLM 1 and the rest to SLM2. This percentage can change on each transaction.&lt;/P&gt;&lt;P&gt;When I want to do an analysis of a specific salesman, I want qlikview to pull the sales dollar when the saleman is assocaited with SLM 1 and the sales dolalrs when the salesman is associated with SLM2. To get a total amount associated with the salesman.&lt;/P&gt;&lt;P&gt;If my statement were to be SUM(sales) SLM1 and SLM2 where SLM1 = SLM2 I would get zero as SLM1 will never = SLM2 on a given transaction.&lt;/P&gt;&lt;P&gt;Does anyone have any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jul 2010 21:03:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/multiple-ID-s-for-one-person/m-p/266497#M1204498</guid>
      <dc:creator />
      <dc:date>2010-07-20T21:03:56Z</dc:date>
    </item>
    <item>
      <title>multiple ID's for one person</title>
      <link>https://community.qlik.com/t5/QlikView/multiple-ID-s-for-one-person/m-p/266498#M1204499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would be easier if you could upload some data for the problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 13:37:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/multiple-ID-s-for-one-person/m-p/266498#M1204499</guid>
      <dc:creator />
      <dc:date>2010-07-21T13:37:13Z</dc:date>
    </item>
    <item>
      <title>multiple ID's for one person</title>
      <link>https://community.qlik.com/t5/QlikView/multiple-ID-s-for-one-person/m-p/266499#M1204500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width:352pt;border-collapse:collapse;" width="467"&gt;&lt;COLGROUP&gt;&lt;COL style="width:49pt;mso-width-source:userset;mso-width-alt:2377;" width="65" /&gt;&lt;COL style="width:57pt;mso-width-source:userset;mso-width-alt:2779;" width="76" /&gt;&lt;COL span="2" style="width:34pt;mso-width-source:userset;mso-width-alt:1645;" width="45" /&gt;&lt;COL span="2" style="width:62pt;mso-width-source:userset;mso-width-alt:2998;" width="82" /&gt;&lt;COL style="width:54pt;mso-width-source:userset;mso-width-alt:2633;" width="72" /&gt;&lt;/COLGROUP&gt;&lt;TBODY&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD height="17" style="background-color:transparent;width:49pt;height:12.75pt;border:#ece9d8;" width="65"&gt;&lt;P&gt;Order&lt;/P&gt;&lt;/TD&gt;&lt;TD style="background-color:transparent;width:57pt;border:#ece9d8;" width="76"&gt;Customer&lt;/TD&gt;&lt;TD style="background-color:transparent;width:34pt;border:#ece9d8;" width="45"&gt;SLM 1&lt;/TD&gt;&lt;TD style="background-color:transparent;width:34pt;border:#ece9d8;" width="45"&gt;SLM 2&lt;/TD&gt;&lt;TD style="background-color:transparent;width:62pt;border:#ece9d8;" width="82"&gt;SLM 1 Sales&lt;/TD&gt;&lt;TD style="background-color:transparent;width:62pt;border:#ece9d8;" width="82"&gt;SLM 2 Sales&lt;/TD&gt;&lt;TD style="background-color:transparent;width:54pt;border:#ece9d8;" width="72"&gt;Total Sales&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD align="right" height="17" style="background-color:transparent;height:12.75pt;border:#ece9d8;"&gt;1&lt;/TD&gt;&lt;TD style="background-color:transparent;border:#ece9d8;"&gt;ABC&lt;/TD&gt;&lt;TD align="right" style="background-color:transparent;border:#ece9d8;"&gt;1&lt;/TD&gt;&lt;TD align="right" style="background-color:transparent;border:#ece9d8;"&gt;6&lt;/TD&gt;&lt;TD align="right" style="background-color:transparent;border:#ece9d8;"&gt;90&lt;/TD&gt;&lt;TD align="right" style="background-color:transparent;border:#ece9d8;"&gt;10&lt;/TD&gt;&lt;TD align="right" style="background-color:transparent;border:#ece9d8;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD align="right" height="17" style="background-color:transparent;height:12.75pt;border:#ece9d8;"&gt;2&lt;/TD&gt;&lt;TD style="background-color:transparent;border:#ece9d8;"&gt;ABC&lt;/TD&gt;&lt;TD align="right" style="background-color:transparent;border:#ece9d8;"&gt;2&lt;/TD&gt;&lt;TD style="background-color:transparent;border:#ece9d8;"&gt;&lt;/TD&gt;&lt;TD align="right" style="background-color:transparent;border:#ece9d8;"&gt;150&lt;/TD&gt;&lt;TD style="background-color:transparent;border:#ece9d8;"&gt;&lt;/TD&gt;&lt;TD align="right" style="background-color:transparent;border:#ece9d8;"&gt;150&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD align="right" height="17" style="background-color:transparent;height:12.75pt;border:#ece9d8;"&gt;3&lt;/TD&gt;&lt;TD style="background-color:transparent;border:#ece9d8;"&gt;FE inc&lt;/TD&gt;&lt;TD align="right" style="background-color:transparent;border:#ece9d8;"&gt;3&lt;/TD&gt;&lt;TD align="right" style="background-color:transparent;border:#ece9d8;"&gt;4&lt;/TD&gt;&lt;TD align="right" style="background-color:transparent;border:#ece9d8;"&gt;30&lt;/TD&gt;&lt;TD align="right" style="background-color:transparent;border:#ece9d8;"&gt;20&lt;/TD&gt;&lt;TD align="right" style="background-color:transparent;border:#ece9d8;"&gt;50&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD align="right" height="17" style="background-color:transparent;height:12.75pt;border:#ece9d8;"&gt;4&lt;/TD&gt;&lt;TD style="background-color:transparent;border:#ece9d8;"&gt;Light&lt;/TD&gt;&lt;TD align="right" style="background-color:transparent;border:#ece9d8;"&gt;4&lt;/TD&gt;&lt;TD align="right" style="background-color:transparent;border:#ece9d8;"&gt;6&lt;/TD&gt;&lt;TD align="right" style="background-color:transparent;border:#ece9d8;"&gt;25&lt;/TD&gt;&lt;TD align="right" style="background-color:transparent;border:#ece9d8;"&gt;10&lt;/TD&gt;&lt;TD align="right" style="background-color:transparent;border:#ece9d8;"&gt;35&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD align="right" height="17" style="background-color:transparent;height:12.75pt;border:#ece9d8;"&gt;5&lt;/TD&gt;&lt;TD style="background-color:transparent;border:#ece9d8;"&gt;Light&lt;/TD&gt;&lt;TD align="right" style="background-color:transparent;border:#ece9d8;"&gt;5&lt;/TD&gt;&lt;TD align="right" style="background-color:transparent;border:#ece9d8;"&gt;6&lt;/TD&gt;&lt;TD align="right" style="background-color:transparent;border:#ece9d8;"&gt;65&lt;/TD&gt;&lt;TD align="right" style="background-color:transparent;border:#ece9d8;"&gt;15&lt;/TD&gt;&lt;TD align="right" style="background-color:transparent;border:#ece9d8;"&gt;80&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD align="right" height="17" style="background-color:transparent;height:12.75pt;border:#ece9d8;"&gt;6&lt;/TD&gt;&lt;TD style="background-color:transparent;border:#ece9d8;"&gt;Qink&lt;/TD&gt;&lt;TD align="right" style="background-color:transparent;border:#ece9d8;"&gt;4&lt;/TD&gt;&lt;TD align="right" style="background-color:transparent;border:#ece9d8;"&gt;5&lt;/TD&gt;&lt;TD align="right" style="background-color:transparent;border:#ece9d8;"&gt;80&lt;/TD&gt;&lt;TD align="right" style="background-color:transparent;border:#ece9d8;"&gt;5&lt;/TD&gt;&lt;TD align="right" style="background-color:transparent;border:#ece9d8;"&gt;85&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD align="right" height="17" style="background-color:transparent;height:12.75pt;border:#ece9d8;"&gt;7&lt;/TD&gt;&lt;TD style="background-color:transparent;border:#ece9d8;"&gt;Sutton&lt;/TD&gt;&lt;TD align="right" style="background-color:transparent;border:#ece9d8;"&gt;3&lt;/TD&gt;&lt;TD style="background-color:transparent;border:#ece9d8;"&gt;&lt;/TD&gt;&lt;TD align="right" style="background-color:transparent;border:#ece9d8;"&gt;10&lt;/TD&gt;&lt;TD style="background-color:transparent;border:#ece9d8;"&gt;&lt;/TD&gt;&lt;TD align="right" style="background-color:transparent;border:#ece9d8;"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD align="right" height="17" style="background-color:transparent;height:12.75pt;border:#ece9d8;"&gt;8&lt;/TD&gt;&lt;TD style="background-color:transparent;border:#ece9d8;"&gt;Sutton&lt;/TD&gt;&lt;TD align="right" style="background-color:transparent;border:#ece9d8;"&gt;6&lt;/TD&gt;&lt;TD align="right" style="background-color:transparent;border:#ece9d8;"&gt;1&lt;/TD&gt;&lt;TD align="right" style="background-color:transparent;border:#ece9d8;"&gt;45&lt;/TD&gt;&lt;TD align="right" style="background-color:transparent;border:#ece9d8;"&gt;30&lt;/TD&gt;&lt;TD align="right" style="background-color:transparent;border:#ece9d8;"&gt;75&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is an example of my transaction file, and this would be a table attached linking salesman numbers to salesman names&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width:106pt;border-collapse:collapse;" width="141"&gt;&lt;COLGROUP&gt;&lt;COL style="width:49pt;mso-width-source:userset;mso-width-alt:2377;" width="65" /&gt;&lt;COL style="width:57pt;mso-width-source:userset;mso-width-alt:2779;" width="76" /&gt;&lt;/COLGROUP&gt;&lt;TBODY&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD height="17" style="background-color:transparent;width:49pt;height:12.75pt;border:#ece9d8;" width="65"&gt;Salesman&lt;/TD&gt;&lt;TD style="background-color:transparent;width:57pt;border:#ece9d8;" width="76"&gt;Salesman #&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD height="17" style="background-color:transparent;height:12.75pt;border:#ece9d8;"&gt;John&lt;/TD&gt;&lt;TD align="right" style="background-color:transparent;border:#ece9d8;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD height="17" style="background-color:transparent;height:12.75pt;border:#ece9d8;"&gt;Pierre&lt;/TD&gt;&lt;TD align="right" style="background-color:transparent;border:#ece9d8;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD height="17" style="background-color:transparent;height:12.75pt;border:#ece9d8;"&gt;Bob&lt;/TD&gt;&lt;TD align="right" style="background-color:transparent;border:#ece9d8;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD height="17" style="background-color:transparent;height:12.75pt;border:#ece9d8;"&gt;Cara&lt;/TD&gt;&lt;TD align="right" style="background-color:transparent;border:#ece9d8;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD height="17" style="background-color:transparent;height:12.75pt;border:#ece9d8;"&gt;Lisa&lt;/TD&gt;&lt;TD align="right" style="background-color:transparent;border:#ece9d8;"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD height="17" style="background-color:transparent;height:12.75pt;border:#ece9d8;"&gt;David&lt;/TD&gt;&lt;TD align="right" style="background-color:transparent;border:#ece9d8;"&gt;6&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Now when I do a search for "David" i want all the sales dollars to come up for him.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what my actual tables look like....&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/674/3005.export.png"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/674/3005.export.png" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 13:49:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/multiple-ID-s-for-one-person/m-p/266499#M1204500</guid>
      <dc:creator />
      <dc:date>2010-07-21T13:49:07Z</dc:date>
    </item>
    <item>
      <title>multiple ID's for one person</title>
      <link>https://community.qlik.com/t5/QlikView/multiple-ID-s-for-one-person/m-p/266500#M1204501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So in case of David the SLM 1 Sales = 45 and SLM 2 Sales = 35 right ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could create a table as under&lt;/P&gt;&lt;P&gt;Salesman as Dimension&lt;/P&gt;&lt;P&gt;Expression for SLM1Sales = &lt;B&gt;sum ( if ( [Salesman #] = [SLM 1] , [SLM 1 Sales] , ''))&lt;/B&gt;&lt;/P&gt;&lt;P&gt;Expression for SLM2Sales = &lt;B&gt;sum ( if ( [Salesman #] = [SLM 2] , [SLM 2 Sales] , ''))&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 14:00:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/multiple-ID-s-for-one-person/m-p/266500#M1204501</guid>
      <dc:creator />
      <dc:date>2010-07-21T14:00:25Z</dc:date>
    </item>
    <item>
      <title>multiple ID's for one person</title>
      <link>https://community.qlik.com/t5/QlikView/multiple-ID-s-for-one-person/m-p/266501#M1204502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would this be in my script? How would I go about linking salesman names to the slm1 and slm2 numbers without creating a loop?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 14:05:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/multiple-ID-s-for-one-person/m-p/266501#M1204502</guid>
      <dc:creator />
      <dc:date>2010-07-21T14:05:55Z</dc:date>
    </item>
    <item>
      <title>multiple ID's for one person</title>
      <link>https://community.qlik.com/t5/QlikView/multiple-ID-s-for-one-person/m-p/266502#M1204503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is not in the script it's just a table created in QV ... I've attache an example file you can have a look&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 14:15:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/multiple-ID-s-for-one-person/m-p/266502#M1204503</guid>
      <dc:creator />
      <dc:date>2010-07-21T14:15:08Z</dc:date>
    </item>
    <item>
      <title>multiple ID's for one person</title>
      <link>https://community.qlik.com/t5/QlikView/multiple-ID-s-for-one-person/m-p/266503#M1204504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for all the help, I think I can make this work with my situation!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 14:29:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/multiple-ID-s-for-one-person/m-p/266503#M1204504</guid>
      <dc:creator />
      <dc:date>2010-07-21T14:29:12Z</dc:date>
    </item>
  </channel>
</rss>

