<?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 Set Analysis with two different data sets (Ad-Hoc reporting) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-Set-Analysis-with-two-different-data-sets-Ad-Hoc-reporting/m-p/370262#M491957</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created a table object that is very identical to the Ah-Hoc reporting example found in the QlikView 11 demo, except I changed the dimensions to “group, region, state, county, and township.”&amp;nbsp; All townships are assigned a group number.&amp;nbsp; One of the expressions that I would like to create is figuring out the number of people that my company served for a specific area in the country.&amp;nbsp; The problem that I have encountered is the data that I am working with is in two different database tables.&amp;nbsp; The flag to determine which database to use is by group #. I am currently using a nested IF statement in the expression and it works perfectly fine if I show ‘township’ or ‘group’ as one of the dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF( Group = ‘1’, &lt;/P&gt;&lt;P&gt;**execute set analysis for Database #1**, &lt;/P&gt;&lt;P&gt;IF( Group = ‘2’, &lt;/P&gt;&lt;P&gt;**execute set analysis for Database #2**, &lt;/P&gt;&lt;P&gt;NULL))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, if I deselect ‘township’ or ‘group’ as a dimension and only show the other dimensions, the rows cannot determine which group # to use and the table shows only null values. Would denormalizing all of the dimensions into one table fix this issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Jul 2012 17:45:02 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-07-26T17:45:02Z</dc:date>
    <item>
      <title>Using Set Analysis with two different data sets (Ad-Hoc reporting)</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Set-Analysis-with-two-different-data-sets-Ad-Hoc-reporting/m-p/370262#M491957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created a table object that is very identical to the Ah-Hoc reporting example found in the QlikView 11 demo, except I changed the dimensions to “group, region, state, county, and township.”&amp;nbsp; All townships are assigned a group number.&amp;nbsp; One of the expressions that I would like to create is figuring out the number of people that my company served for a specific area in the country.&amp;nbsp; The problem that I have encountered is the data that I am working with is in two different database tables.&amp;nbsp; The flag to determine which database to use is by group #. I am currently using a nested IF statement in the expression and it works perfectly fine if I show ‘township’ or ‘group’ as one of the dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF( Group = ‘1’, &lt;/P&gt;&lt;P&gt;**execute set analysis for Database #1**, &lt;/P&gt;&lt;P&gt;IF( Group = ‘2’, &lt;/P&gt;&lt;P&gt;**execute set analysis for Database #2**, &lt;/P&gt;&lt;P&gt;NULL))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, if I deselect ‘township’ or ‘group’ as a dimension and only show the other dimensions, the rows cannot determine which group # to use and the table shows only null values. Would denormalizing all of the dimensions into one table fix this issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 17:45:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Set-Analysis-with-two-different-data-sets-Ad-Hoc-reporting/m-p/370262#M491957</guid>
      <dc:creator />
      <dc:date>2012-07-26T17:45:02Z</dc:date>
    </item>
  </channel>
</rss>

