<?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: Help with common fields and synthetic keys in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-common-fields-and-synthetic-keys/m-p/1343320#M413613</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why cant you use fields from Mastercalendar? Sorry can you elaborate, i did not get you. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Jun 2017 15:32:32 GMT</pubDate>
    <dc:creator>vishsaggi</dc:creator>
    <dc:date>2017-06-22T15:32:32Z</dc:date>
    <item>
      <title>Help with common fields and synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-common-fields-and-synthetic-keys/m-p/1343313#M413606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having trouble figuring out how to link my tables together so that I can use one filter to select on all data. I have two common fields, School and Gender in both of my main tables and want to be able to make selections / comparisons across all data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My current data model looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="167801" alt="TableStructure.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/167801_TableStructure.JPG" style="height: 357px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have some bookings data that looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1px" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="width: 610px; border-width: 1px; border-style: solid;"&gt;&lt;TBODY&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TH style="width: 71pt; color: #ffffff; background-color: #6690bc; text-align: center; padding: 2px;"&gt;BookingsKey&lt;/TH&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center; padding: 2px;"&gt;Enrol ID&lt;/TH&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center; padding: 2px;"&gt;Course Code&lt;/TH&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center; padding: 2px;"&gt;Student ID&lt;/TH&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center; padding: 2px;"&gt;Gender&lt;/TH&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center; padding: 2px;"&gt;Date From&lt;/TH&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center; padding: 2px;"&gt;Date To&lt;/TH&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center; padding: 2px;"&gt;FlagGL&lt;/TH&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center; padding: 2px;"&gt;School&lt;/TH&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl104" height="17" style="height: 12.75pt; color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;66146-YLE1&lt;/TD&gt;&lt;TD class="xl104" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;66146&lt;/TD&gt;&lt;TD class="xl104" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;YLE1&lt;/TD&gt;&lt;TD class="xl104" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;52003&lt;/TD&gt;&lt;TD class="xl100" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;M&lt;/TD&gt;&lt;TD class="xl100" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;06/07/17&lt;/TD&gt;&lt;TD class="xl100" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;17/07/17&lt;/TD&gt;&lt;TD class="xl100" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;0&lt;/TD&gt;&lt;TD class="xl100" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;L&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl104" height="17" style="height: 12.75pt; color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;67541-YBE1J&lt;/TD&gt;&lt;TD class="xl104" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;67541&lt;/TD&gt;&lt;TD class="xl104" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;YBE1J&lt;/TD&gt;&lt;TD class="xl104" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;53282&lt;/TD&gt;&lt;TD class="xl100" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;F&lt;/TD&gt;&lt;TD class="xl100" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;03/07/17&lt;/TD&gt;&lt;TD class="xl100" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;14/07/17&lt;/TD&gt;&lt;TD class="xl100" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;0&lt;/TD&gt;&lt;TD class="xl100" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl104" height="17" style="height: 12.75pt; color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;67561-YBE1&lt;/TD&gt;&lt;TD class="xl104" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;67561&lt;/TD&gt;&lt;TD class="xl104" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;YBE1&lt;/TD&gt;&lt;TD class="xl104" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;53296&lt;/TD&gt;&lt;TD class="xl100" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;M&lt;/TD&gt;&lt;TD class="xl100" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;03/07/17&lt;/TD&gt;&lt;TD class="xl100" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;14/07/17&lt;/TD&gt;&lt;TD class="xl100" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;0&lt;/TD&gt;&lt;TD class="xl100" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl106" height="17" style="height: 12.75pt; color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;69338-YLE1&lt;/TD&gt;&lt;TD class="xl106" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;69338&lt;/TD&gt;&lt;TD class="xl106" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;YLE1&lt;/TD&gt;&lt;TD class="xl106" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;54953&lt;/TD&gt;&lt;TD class="xl101" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;M&lt;/TD&gt;&lt;TD class="xl101" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;06/07/17&lt;/TD&gt;&lt;TD class="xl101" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;17/07/17&lt;/TD&gt;&lt;TD class="xl101" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;0&lt;/TD&gt;&lt;TD class="xl101" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;L&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl106" height="17" style="height: 12.75pt; color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;69338-YLE2&lt;/TD&gt;&lt;TD class="xl106" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;69338&lt;/TD&gt;&lt;TD class="xl106" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;YLE2&lt;/TD&gt;&lt;TD class="xl106" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;54953&lt;/TD&gt;&lt;TD class="xl101" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;M&lt;/TD&gt;&lt;TD class="xl101" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;20/07/17&lt;/TD&gt;&lt;TD class="xl101" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;31/07/17&lt;/TD&gt;&lt;TD class="xl101" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;0&lt;/TD&gt;&lt;TD class="xl101" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;L&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl104" height="17" style="height: 12.75pt; color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;75823-YBIAE2&lt;/TD&gt;&lt;TD class="xl104" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;75823&lt;/TD&gt;&lt;TD class="xl104" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;YBIAE2&lt;/TD&gt;&lt;TD class="xl104" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;60839&lt;/TD&gt;&lt;TD class="xl100" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;F&lt;/TD&gt;&lt;TD class="xl100" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;03/07/17&lt;/TD&gt;&lt;TD class="xl100" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;28/07/17&lt;/TD&gt;&lt;TD class="xl100" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;0&lt;/TD&gt;&lt;TD class="xl100" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl104" height="17" style="height: 12.75pt; color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;74851-YLE1&lt;/TD&gt;&lt;TD class="xl104" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;74851&lt;/TD&gt;&lt;TD class="xl104" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;YLE1&lt;/TD&gt;&lt;TD class="xl104" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;60090&lt;/TD&gt;&lt;TD class="xl100" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;F&lt;/TD&gt;&lt;TD class="xl100" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;06/07/17&lt;/TD&gt;&lt;TD class="xl100" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;17/07/17&lt;/TD&gt;&lt;TD class="xl100" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;1&lt;/TD&gt;&lt;TD class="xl100" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;L&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl104" height="17" style="height: 12.75pt; color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;74306-YBE1&lt;/TD&gt;&lt;TD class="xl104" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;74306&lt;/TD&gt;&lt;TD class="xl104" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;YBE1&lt;/TD&gt;&lt;TD class="xl104" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;59594&lt;/TD&gt;&lt;TD class="xl100" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;M&lt;/TD&gt;&lt;TD class="xl100" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;03/07/17&lt;/TD&gt;&lt;TD class="xl100" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;14/07/17&lt;/TD&gt;&lt;TD class="xl100" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;1&lt;/TD&gt;&lt;TD class="xl100" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each School has a fixed capacity per gender which is held in a separate table called YL:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1px" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="width: 472px; border-width: 1px; border-style: solid;"&gt;&lt;TBODY&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TH style="width: 59pt; color: #ffffff; background-color: #6690bc; text-align: center; padding: 2px;"&gt;YL.Date&lt;/TH&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center; padding: 2px;"&gt;WeekYear&lt;/TH&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center; padding: 2px;"&gt;YL.School&lt;/TH&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center; padding: 2px;"&gt;YL.Category&lt;/TH&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center; padding: 2px;"&gt;YL.Gender&lt;/TH&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center; padding: 2px;"&gt;YL.Capacity&lt;/TH&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl66" height="17" style="height: 12.75pt; color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;02/07/2017&lt;/TD&gt;&lt;TD class="xl66" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;27-2017&lt;/TD&gt;&lt;TD class="xl66" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;B&lt;/TD&gt;&lt;TD class="xl23" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;GL Beds&lt;/TD&gt;&lt;TD class="xl66" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;M&lt;/TD&gt;&lt;TD class="xl69" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl66" height="17" style="height: 12.75pt; color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;02/07/2017&lt;/TD&gt;&lt;TD class="xl66" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;27-2017&lt;/TD&gt;&lt;TD class="xl66" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;B&lt;/TD&gt;&lt;TD class="xl23" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;GL Beds&lt;/TD&gt;&lt;TD class="xl66" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;F&lt;/TD&gt;&lt;TD class="xl69" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl66" height="17" style="height: 12.75pt; color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;02/07/2017&lt;/TD&gt;&lt;TD class="xl66" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;27-2017&lt;/TD&gt;&lt;TD class="xl66" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;B&lt;/TD&gt;&lt;TD class="xl23" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;Total Beds&lt;/TD&gt;&lt;TD class="xl66" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;M&lt;/TD&gt;&lt;TD class="xl69" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;150&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl66" height="17" style="height: 12.75pt; color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;02/07/2017&lt;/TD&gt;&lt;TD class="xl66" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;27-2017&lt;/TD&gt;&lt;TD class="xl66" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;B&lt;/TD&gt;&lt;TD class="xl23" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;Total Beds&lt;/TD&gt;&lt;TD class="xl66" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;F&lt;/TD&gt;&lt;TD class="xl69" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;159&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl66" height="17" style="height: 12.75pt; color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;05/07/2017&lt;/TD&gt;&lt;TD class="xl66" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;27-2017&lt;/TD&gt;&lt;TD class="xl66" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;L&lt;/TD&gt;&lt;TD class="xl23" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;GL Beds&lt;/TD&gt;&lt;TD class="xl66" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;M&lt;/TD&gt;&lt;TD class="xl69" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl66" height="17" style="height: 12.75pt; color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;05/07/2017&lt;/TD&gt;&lt;TD class="xl66" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;27-2017&lt;/TD&gt;&lt;TD class="xl66" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;L&lt;/TD&gt;&lt;TD class="xl23" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;GL Beds&lt;/TD&gt;&lt;TD class="xl66" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;F&lt;/TD&gt;&lt;TD class="xl69" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl66" height="17" style="height: 12.75pt; color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;05/07/2017&lt;/TD&gt;&lt;TD class="xl66" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;27-2017&lt;/TD&gt;&lt;TD class="xl66" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;L&lt;/TD&gt;&lt;TD class="xl23" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;Total Beds&lt;/TD&gt;&lt;TD class="xl66" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;M&lt;/TD&gt;&lt;TD class="xl69" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;99&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl66" height="17" style="height: 12.75pt; color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;05/07/2017&lt;/TD&gt;&lt;TD class="xl66" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;27-2017&lt;/TD&gt;&lt;TD class="xl66" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;L&lt;/TD&gt;&lt;TD class="xl23" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;Total Beds&lt;/TD&gt;&lt;TD class="xl66" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;F&lt;/TD&gt;&lt;TD class="xl69" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;154&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN style="font-size: 10pt;"&gt;(The bookings_x_dates table is created by a while loop that generates all the possible dates for each booking using the DateFrom and DateTo fields - )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ultimately I want to be able to filter on School and Gender to see how many students/GLs we have on any given date/week compared to how many beds are remaining in the school in a table similar to the below:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="167755" alt="CapacitiesTable.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/167755_CapacitiesTable.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Obviously one of the problems is that the two bottom rows, no. of GLs and no. of students are not being split by gender because the two tables are not linked properly. If I unqualify the gender and school fields in the YL table though this causes chaos with links and synthetic keys (see below).... How can I get around this problem? Would a link table be the way forward and if so, how would I go about that?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="167802" alt="Synthetic Key and Loops.JPG" class="jive-image image-3" src="/legacyfs/online/167802_Synthetic Key and Loops.JPG" style="height: 343px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 14:31:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-common-fields-and-synthetic-keys/m-p/1343313#M413606</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-22T14:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: Help with common fields and synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-common-fields-and-synthetic-keys/m-p/1343314#M413607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure if that helps but you can try like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a key on Gender and School in both the tables like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YL:&lt;/P&gt;&lt;P&gt;LOAD AutoNumberHash128(Gender&amp;amp;School, 1) AS %Gen_SchoolKey&lt;/P&gt;&lt;P&gt;Gender AS YL_Gender,&lt;/P&gt;&lt;P&gt;School AS Yl_School,&lt;/P&gt;&lt;P&gt;Bookingweekyear AS YL_BookWeekYear,&lt;/P&gt;&lt;P&gt;Category,&lt;/P&gt;&lt;P&gt;Date,&lt;/P&gt;&lt;P&gt;Capacity&lt;/P&gt;&lt;P&gt;FROM YLSource;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bookings:&lt;/P&gt;&lt;P&gt;LOAD AutoNumberHash128(Gender&amp;amp;School, 1) AS %Gen_SchoolKey&lt;/P&gt;&lt;P&gt;Gender ,&lt;/P&gt;&lt;P&gt;School ,&lt;/P&gt;&lt;P&gt;StudentID....&lt;/P&gt;&lt;P&gt;FROM BookingsTableSource;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 14:48:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-common-fields-and-synthetic-keys/m-p/1343314#M413607</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-06-22T14:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: Help with common fields and synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-common-fields-and-synthetic-keys/m-p/1343315#M413608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Vishwarath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much for your reply. I did as you suggested but it's not quite giving me what I need unfortunately. I'm still not able to compare both sets of data filtered by gender and there is still a loop in my table structure which I think is causing the mystery extra column on my pivot table below... Do you have any other ides?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Synthetic Key and Loops2JPG.JPG" class="jive-image image-1" src="/legacyfs/online/167810_Synthetic Key and Loops2JPG.JPG" style="height: 345px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="CapacitiesTable2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/167811_CapacitiesTable2.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 15:07:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-common-fields-and-synthetic-keys/m-p/1343315#M413608</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-22T15:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: Help with common fields and synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-common-fields-and-synthetic-keys/m-p/1343316#M413609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I mentioned in my previous script that you have to rename the column bookingweekyear else you will have circular reference. like do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;YL:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD AutoNumberHash128(Gender&amp;amp;School, 1) AS %Gen_SchoolKey&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Gender AS YL_Gender,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;School AS Yl_School,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #ff6600;"&gt;&lt;STRONG&gt;Bookingweekyear AS YL_BookWeekYear,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Category,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Date,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Capacity&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM YLSource;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 15:15:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-common-fields-and-synthetic-keys/m-p/1343316#M413609</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-06-22T15:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: Help with common fields and synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-common-fields-and-synthetic-keys/m-p/1343317#M413610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah okay, sorry, I totally missed that. If I rename BookingWeekYear though, then I won't be able to use one date filter to select across all data? I need to be able to use the date filters from the master calendar (e.g. year, quarter, month etc) to filter both the YL and Bookings tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 15:19:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-common-fields-and-synthetic-keys/m-p/1343317#M413610</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-22T15:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: Help with common fields and synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-common-fields-and-synthetic-keys/m-p/1343318#M413611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Josephine,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After looking at your data model, what I suggest is the YL table concatenated with the Bookings table as a fact table, then get rid of the Booking_x_date table and thus have the master calendar relationship with the new fact table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Carlos M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 15:21:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-common-fields-and-synthetic-keys/m-p/1343318#M413611</guid>
      <dc:creator>CarlosAMonroy</dc:creator>
      <dc:date>2017-06-22T15:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Help with common fields and synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-common-fields-and-synthetic-keys/m-p/1343319#M413612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Carlos, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply! That's an interesting approach - I hadn't thought of that. The only problem is that I'm not sure how to handle removing the booking_x_date table as this is there to deal with the interval dates? I used the method that Henric describes in his blog post: &lt;A href="https://community.qlik.com/qlik-blogpost/2940"&gt;Creating Reference Dates for Intervals&lt;/A&gt; as I also need to be able to see how many bookings we have on any given date. Since my bookings are based on intervals with a FromDate and a ToDate, I'm not sure how I would link the master calendar to this table without a booking_x_dates table or something similar?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 15:29:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-common-fields-and-synthetic-keys/m-p/1343319#M413612</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-22T15:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: Help with common fields and synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-common-fields-and-synthetic-keys/m-p/1343320#M413613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why cant you use fields from Mastercalendar? Sorry can you elaborate, i did not get you. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 15:32:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-common-fields-and-synthetic-keys/m-p/1343320#M413613</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-06-22T15:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Help with common fields and synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-common-fields-and-synthetic-keys/m-p/1343321#M413614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share your dashboard app with your expected output? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 15:33:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-common-fields-and-synthetic-keys/m-p/1343321#M413614</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-06-22T15:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: Help with common fields and synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-common-fields-and-synthetic-keys/m-p/1343322#M413615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you can use Interval match function to create a new field that will be the link between the new fact table and Master calendar. Does that make sense to you?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 15:35:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-common-fields-and-synthetic-keys/m-p/1343322#M413615</guid>
      <dc:creator>CarlosAMonroy</dc:creator>
      <dc:date>2017-06-22T15:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: Help with common fields and synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-common-fields-and-synthetic-keys/m-p/1343323#M413616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm, I'm not too familiar with that function (hence why I went for the extra table option!) but I will do some investigating and see if it works. Thanks for the tip!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 15:44:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-common-fields-and-synthetic-keys/m-p/1343323#M413616</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-22T15:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: Help with common fields and synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-common-fields-and-synthetic-keys/m-p/1343324#M413617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would love to share the app but at the moment, it has all the database connections / file locations etc in it so it will take me some time to redo it and load the data from QVDs instead... Otherwise I will probably get sacked for violating my company's security policy! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 15:52:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-common-fields-and-synthetic-keys/m-p/1343324#M413617</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-22T15:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: Help with common fields and synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-common-fields-and-synthetic-keys/m-p/1343325#M413618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I break the link between the YL table and the master calnedar (via BookingWeekYear), I end up with this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="TableStructure2.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/167817_TableStructure2.JPG" style="height: 363px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But unfortunately it messes up the data - my capacities table now looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="CapacitiesTable3.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/167818_CapacitiesTable3.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;The YL data (Total Beds / GL beds) is no longer summed by weekyear since the date link has been broken so the figures are much bigger than they should be. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I actually need this table to show these figures based on the data that I have:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1px" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" style="border-width: 1px; border-style: solid; width: 296px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center; padding: 2px;"&gt;WeekYear&lt;/TH&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center; padding: 2px;"&gt;27-2017&lt;/TH&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center; padding: 2px;"&gt;27-2017&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center; padding: 2px; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;YL.Gender&lt;/TH&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center; padding: 2px; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;M&lt;/TH&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center; padding: 2px; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;F&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center; padding: 2px;"&gt;Total Beds&lt;/TH&gt;&lt;TD class="xl77" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;249&lt;/TD&gt;&lt;TD class="xl77" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;313&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center; padding: 2px;"&gt;GL Beds&lt;/TH&gt;&lt;TD class="xl77" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;3&lt;/TD&gt;&lt;TD class="xl77" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center; padding: 2px;"&gt;GLs?&lt;/TH&gt;&lt;TD class="xl77" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;3&lt;/TD&gt;&lt;TD class="xl77" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;11&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center; padding: 2px;"&gt;Students?&lt;/TH&gt;&lt;TD class="xl77" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;188&lt;/TD&gt;&lt;TD class="xl77" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;242&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 16:09:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-common-fields-and-synthetic-keys/m-p/1343325#M413618</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-22T16:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: Help with common fields and synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-common-fields-and-synthetic-keys/m-p/1343326#M413619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No worries. But did you try changing that field name and whats your data model now looks like? &lt;/P&gt;&lt;P&gt;You can scramble the confidential data using scrambling technique. follow here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-1290"&gt;Preparing examples for Upload - Reduction and Data Scrambling&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 16:10:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-common-fields-and-synthetic-keys/m-p/1343326#M413619</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-06-22T16:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: Help with common fields and synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-common-fields-and-synthetic-keys/m-p/1343327#M413620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Josephine,&lt;/P&gt;&lt;P&gt;Why does your table YT have dates? If this is a table of fixed capacities then they won't vary over time. Or have I misunderstood?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think Interval Match is the way to go here.&amp;nbsp; Try this, it won't be the final answer but it might help you along:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bookings:&lt;/P&gt;&lt;P&gt;LOAD BookingsKey, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Enrol ID], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Course Code], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Student ID], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Gender, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Date From], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Date To], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FlagGL, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; School&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A class="jive-link-thread-small" data-containerid="2051" data-containertype="14" data-objectid="265110" data-objecttype="1" href="https://community.qlik.com/thread/265110"&gt;https://community.qlik.com/thread/265110&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;(html, codepage is 1252, embedded labels, table is @1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Get Min From Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Min(From) as From;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;FieldValue('Date From', RecNo()) as From&lt;/P&gt;&lt;P&gt;AutoGenerate FieldValueCount ('Date From');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Get Max To Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Max(To) as To;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;FieldValue('Date To', RecNo()) as To&lt;/P&gt;&lt;P&gt;AutoGenerate FieldValueCount ('Date To');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vStartDate = Peek('From',0,'From');&lt;/P&gt;&lt;P&gt;Let vEndDate = Peek('To',0,'To');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Tables To, From;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Calendar]:&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&amp;nbsp; Week(Temp_Date)&amp;nbsp; &amp;amp; '-' &amp;amp; Year(Temp_Date) as WeekYear,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date(Temp_Date,'$(DateFormat)') as Date;&lt;/P&gt;&lt;P&gt;Load $(vStartDate) -1 + IterNo() as Temp_Date&lt;/P&gt;&lt;P&gt;AutoGenerate 1 While $(vStartDate) -1 + IterNo() &amp;lt;= $(vEndDate) ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MatchTable:&lt;/P&gt;&lt;P&gt;IntervalMatch (Date) &lt;/P&gt;&lt;P&gt;LOAD Distinct&amp;nbsp; [Date From], [Date To] Resident Bookings;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 16:35:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-common-fields-and-synthetic-keys/m-p/1343327#M413620</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2017-06-22T16:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: Help with common fields and synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-common-fields-and-synthetic-keys/m-p/1343328#M413621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are your expressions for Total Beds and GL beds? Can you share if possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 16:41:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-common-fields-and-synthetic-keys/m-p/1343328#M413621</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-06-22T16:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: Help with common fields and synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-common-fields-and-synthetic-keys/m-p/1343329#M413622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;The YL table has dates because the capacities can vary each week depending on how many beds we've booked / how many beds are available at each school.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is brilliant - thank you! I'll give it a go and see how I get on. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 11:15:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-common-fields-and-synthetic-keys/m-p/1343329#M413622</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-23T11:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: Help with common fields and synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-common-fields-and-synthetic-keys/m-p/1343330#M413623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Ok, here's the app. I've taken out the connections and reverted back to the previous way of linking the tables. I'm going to have a go at concatenation / interval match but any help in the meantime would be much appreciated! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 11:31:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-common-fields-and-synthetic-keys/m-p/1343330#M413623</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-23T11:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: Help with common fields and synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-common-fields-and-synthetic-keys/m-p/1343331#M413624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I somehow feel YL should not be joining with Master calendar. Probably give it a try using Interval Match or Concatenating Bookings and YL tables. Cos your are already getting BookingsWeekYear from your Calendar. And what data holds YL table and how that is related to Bookings table? Can you elaborate&amp;nbsp; a little please. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 11:56:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-common-fields-and-synthetic-keys/m-p/1343331#M413624</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-06-23T11:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: Help with common fields and synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-common-fields-and-synthetic-keys/m-p/1343332#M413625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I concatenated the capacities data and then used interval match but I've ended up with a synthetic key... Is this okay/expected? I don't think it has affected the bookings data - the row count is as expected and even better, the capacities pivot table is now displaying all the data split by gender! &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="TableStructure3.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/167926_TableStructure3.JPG" style="height: 356px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="CapacitiesTable4.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/167933_CapacitiesTable4.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 12:47:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-common-fields-and-synthetic-keys/m-p/1343332#M413625</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-23T12:47:53Z</dc:date>
    </item>
  </channel>
</rss>

