<?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 Using same field from different tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-same-field-from-different-tables/m-p/377335#M140694</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are pulling in Salesforce Lead and Contact data into Qlikview but essentially we want to report on this as 1 table. For example we want to know the total number of leads and contacts created in a particular month. I have am using the expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count (distinct ContactId) + Count (DISTINCT LeadId)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in a graph but what dimension can I use to have it ordered by created date. I have tried a dimension with the expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(isnull(monthname(ContactCreatedDate)), monthname(LeadCreatedDate), monthname(ContactCreatedDate))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I drill down on the chart by created month it only pulls those records with both fields populated; LeadCreatedDate &amp;amp; ContactCreatedDate (i.e. converted leads).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to combine 2 fields from seperate tables or should this be done in the Load script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Jon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Aug 2012 12:05:49 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-08-13T12:05:49Z</dc:date>
    <item>
      <title>Using same field from different tables</title>
      <link>https://community.qlik.com/t5/QlikView/Using-same-field-from-different-tables/m-p/377335#M140694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are pulling in Salesforce Lead and Contact data into Qlikview but essentially we want to report on this as 1 table. For example we want to know the total number of leads and contacts created in a particular month. I have am using the expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count (distinct ContactId) + Count (DISTINCT LeadId)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in a graph but what dimension can I use to have it ordered by created date. I have tried a dimension with the expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(isnull(monthname(ContactCreatedDate)), monthname(LeadCreatedDate), monthname(ContactCreatedDate))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I drill down on the chart by created month it only pulls those records with both fields populated; LeadCreatedDate &amp;amp; ContactCreatedDate (i.e. converted leads).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to combine 2 fields from seperate tables or should this be done in the Load script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Jon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2012 12:05:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-same-field-from-different-tables/m-p/377335#M140694</guid>
      <dc:creator />
      <dc:date>2012-08-13T12:05:49Z</dc:date>
    </item>
  </channel>
</rss>

