<?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: Need help matching multiple fields over an interval of time in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-help-matching-multiple-fields-over-an-interval-of-time/m-p/1344710#M828255</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have excel formula, please share that. Then we came to know how formula exists and used. Meanwhile, we will help you the formula in Qlikview.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Jul 2017 14:10:10 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2017-07-07T14:10:10Z</dc:date>
    <item>
      <title>Need help matching multiple fields over an interval of time</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-matching-multiple-fields-over-an-interval-of-time/m-p/1344703#M828248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have several support staff on my team and I'm trying to match their casework to our sales data to get an idea of the impact that they have on our overall sales.&amp;nbsp; I've been able to muddle through a lot of problems in qlikview, but I'm not sure how to approach this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the Casework Table [Fact]&amp;nbsp; I receive a list of up to 10 parts that were worked on a case. Each row contains the date the case was opened, the date the case was closed, the total case age, &lt;SPAN style="font-size: 13.3333px;"&gt;Case# ,&lt;/SPAN&gt; and the parts that were referenced in the case. There are up to 10 parts on a case and each one is loaded into qlikview in it's own column: Part1, Part2, Part3, etc. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In another table I have my Sales Data [Sales] with invoice date and part detail. Each row contains the Invoice date,&amp;nbsp; part#, and Sales dollars. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like match the parts from the &lt;SPAN style="font-size: 13.3333px;"&gt;Casework Table [Fact]&amp;nbsp; to the S&lt;SPAN style="font-size: 13.3333px;"&gt;ales Data Table [Sales] if the part invoiced within two weeks of the case closing. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Will I need to match each part 1-10 to the sales data as separate expressions, or would I be better handling this another way? Thanks in advance for any guidance. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-matching-multiple-fields-over-an-interval-of-time/m-p/1344703#M828248</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Need help matching multiple fields over an interval of time</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-matching-multiple-fields-over-an-interval-of-time/m-p/1344704#M828249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If possible, please explain with data set?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2017 18:06:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-matching-multiple-fields-over-an-interval-of-time/m-p/1344704#M828249</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-07-06T18:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: Need help matching multiple fields over an interval of time</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-matching-multiple-fields-over-an-interval-of-time/m-p/1344705#M828250</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;Thanks Anil, I will see if I can mock up an example. I can't share the exact data as it is proprietary information. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Are you just looking for the tables with headers and a few rows of data, the script, or a qvw? &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2017 18:45:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-matching-multiple-fields-over-an-interval-of-time/m-p/1344705#M828250</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-06T18:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: Need help matching multiple fields over an interval of time</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-matching-multiple-fields-over-an-interval-of-time/m-p/1344706#M828251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes and that too expected result &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2017 18:47:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-matching-multiple-fields-over-an-interval-of-time/m-p/1344706#M828251</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-07-06T18:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: Need help matching multiple fields over an interval of time</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-matching-multiple-fields-over-an-interval-of-time/m-p/1344707#M828252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil, I've done a partial reload with only a couple of records so that I can share the QVW (attached). You should be able to view the script and schema.&amp;nbsp; I've put the field and Table names below in brackets [] when i reference them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I'm trying to figure out how many dollars each [Associate]&amp;nbsp; could be generating in sales based on their work. In the [Fact] table I have the total time for each case [CaseAge] along with the timestamp for when the case opens [Date] and closes [ClosedDateAndTime]. The [Associate] table also has all of the parts (up to 10) that were on the case. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The &lt;SPAN style="font-size: 13.3333px;"&gt;sales data are in the table [SalesData]. In this table I have the parts that were invoiced [SKUNumber] along with the [Invoice Date]. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;So... I would like to Sum [Extended Gross Profit] based on the invoiced data [SalesData] where the parts &lt;SPAN style="font-size: 13.3333px;"&gt;[SKUNumber] match on a case and the &lt;SPAN style="font-size: 13.3333px;"&gt; [Invoice Date] is within two weeks. That would be tricky enough, but keep in mind that there are up to 10 parts on each case. Those fields are a subfield of the ';' delimited field [SKUNumber_List]: [Part1], [Part2]...[Part10].&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;This will give us a ballpark figure for how many Dollars in GP and Sales each Associate contributes. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Let me know what you think.... I'm sorry my explanation is not clearer, please let me know if you need more info. Thank you again for your help. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2017 20:18:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-matching-multiple-fields-over-an-interval-of-time/m-p/1344707#M828252</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-06T20:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: Need help matching multiple fields over an interval of time</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-matching-multiple-fields-over-an-interval-of-time/m-p/1344708#M828253</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;&lt;SPAN style="font-size: 13.3333px;"&gt;So... I would like to Sum [Extended Gross Profit] based on the invoiced data [SalesData] where the parts &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[SKUNumber] match on a case and the &lt;SPAN style="font-size: 13.3333px;"&gt; [Invoice Date] is within two weeks. That would be tricky enough, but keep in mind that there are up to 10 parts on each case. Those fields are a subfield of the ';' delimited field [SKUNumber_List]: [Part1], [Part2]...[Part10].&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&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;From this part, You could try something like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Match([SKUNumber], 'Part1', 'Part2', .....) = [Invoice Date], Sum({&amp;lt;Week = {"&amp;gt;=$(=Max(Week)-2) &amp;lt;=$(=Max(Week))"}&amp;gt;} [Extended Gross Profit])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2017 02:45:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-matching-multiple-fields-over-an-interval-of-time/m-p/1344708#M828253</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-07-07T02:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: Need help matching multiple fields over an interval of time</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-matching-multiple-fields-over-an-interval-of-time/m-p/1344709#M828254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil, If I understand correctly, the Match function the way you have written it is checking the Field [SKUNumber] for the Values 'Part1', 'Part2' etc from within the field. I'm looking for matching values between multiple fields in this case. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to search 10 fields (Part1 through Part10) for matching part numbers in the &lt;SPAN style="font-size: 13.3333px;"&gt;[SKUNumber] field. This is like doing 10 separate vLookups in Excel and adding the Gross Profit from each row where a match is found. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks again for your help. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2017 12:39:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-matching-multiple-fields-over-an-interval-of-time/m-p/1344709#M828254</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-07T12:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: Need help matching multiple fields over an interval of time</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-matching-multiple-fields-over-an-interval-of-time/m-p/1344710#M828255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have excel formula, please share that. Then we came to know how formula exists and used. Meanwhile, we will help you the formula in Qlikview.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2017 14:10:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-matching-multiple-fields-over-an-interval-of-time/m-p/1344710#M828255</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-07-07T14:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: Need help matching multiple fields over an interval of time</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-matching-multiple-fields-over-an-interval-of-time/m-p/1344711#M828256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do not have an excel formula. I was just trying to use excel as an analogy for how the problem could be solved. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically I have up to 10 parts on any single case. Anytime one of those parts matches my sales data I would like to sum Gross Profit. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm just not sure how to search multiple fields in this manner. Maybe a really long nested if. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2017 14:15:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-matching-multiple-fields-over-an-interval-of-time/m-p/1344711#M828256</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-07T14:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: Need help matching multiple fields over an interval of time</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-matching-multiple-fields-over-an-interval-of-time/m-p/1344712#M828257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;+ &lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌ &lt;A href="https://community.qlik.com/qlik-users/120618"&gt;mrkachhiaimp&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2017 14:47:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-matching-multiple-fields-over-an-interval-of-time/m-p/1344712#M828257</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-07-07T14:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: Need help matching multiple fields over an interval of time</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-matching-multiple-fields-over-an-interval-of-time/m-p/1344713#M828258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It doesn't seem to be very obvious, so I guess it might help to know the expected output in numerical terms. I mean it seems that Fact only have 2 rows of data and I am still finding it somewhat difficult to know what might the result need to look like.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2017 18:53:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-matching-multiple-fields-over-an-interval-of-time/m-p/1344713#M828258</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-07-07T18:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: Need help matching multiple fields over an interval of time</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-matching-multiple-fields-over-an-interval-of-time/m-p/1344714#M828259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny, I will try to load more rows, it will take me a little time as there is some info I need to remove from the data.&amp;nbsp; Thank you for taking a look at my problem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My preferred output would be a sum of Cost/Sales/GP by Associate (User1, User2 in the test data) based on the [Invoice Date] and the date the Case Closes &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[ClosedDateAndTime].&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I'd like to be able to filter on a month or a case# and say this Associate generated&amp;nbsp; 'x' amount of dollars in Sales or GP based on this list of cases. The premise being that if a part is on a case and a sale involving that part happens shortly after the case closes, we can attribute that sale to the Associate. I may play around with the timeframes, but my initial thinking was an invoice date within 2 weeks of the case closing&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[ClosedDateAndTime]..&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I think I have a couple of issues, but maybe I'm overthinking at this point. Right now I essentially have two fact tables, [Fact] and [Sales Data]. Only one of these is connected to my master calendar. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My key to join those two tables is currently [SKUNumber], but I'm not sure that is relevant since I'm trying to match [SKUNumber] from the [Sales Data] against any matches from the part's fields (Part1, Part2, Part3, etc. ). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll come back as soon as I can with more data, hopefully that will help. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DJ&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2017 19:11:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-matching-multiple-fields-over-an-interval-of-time/m-p/1344714#M828259</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-07T19:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: Need help matching multiple fields over an interval of time</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-matching-multiple-fields-over-an-interval-of-time/m-p/1344715#M828260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Darren - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Description you have provided helps, but make sure to provide with a numerical output you would want to see based on the new data you provide. Knowing the output, it will be much easier to decipher your problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2017 19:14:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-matching-multiple-fields-over-an-interval-of-time/m-p/1344715#M828260</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-07-07T19:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: Need help matching multiple fields over an interval of time</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-matching-multiple-fields-over-an-interval-of-time/m-p/1344716#M828261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm probably only addressing part of what you want to do.&lt;/P&gt;&lt;P&gt;But I think your first step is to split out the part numbers/skus into a separate table.&lt;/P&gt;&lt;P&gt;Your fact tables stays at 1 row per associate.&lt;/P&gt;&lt;P&gt;Your sales table stays at 1 row per part/sku.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then you create a new table that links the 2 based on sku.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SKULinkTable:&lt;/P&gt;&lt;P&gt;load &lt;/P&gt;&lt;P&gt;Associate,&lt;/P&gt;&lt;P&gt;subfield(SKUNumberList,',') as SKUNumber&lt;/P&gt;&lt;P&gt;Resident Facts;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And get rid of the SKUNumber field on your Fact table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2017 19:17:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-matching-multiple-fields-over-an-interval-of-time/m-p/1344716#M828261</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-07T19:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: Need help matching multiple fields over an interval of time</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-matching-multiple-fields-over-an-interval-of-time/m-p/1344717#M828262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Sunny,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Please see attached for the updated QVW with more data loaded, the data has 150 cases and 99 Invoices.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;The expected output from the data should be:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" 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: 224px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colspan="1"&gt;&lt;STRONG&gt;User&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD colspan="1"&gt;&lt;STRONG&gt;Extended Sales $&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" width="84"&gt;User1:&lt;/TD&gt;&lt;TD align="right" width="140"&gt;192.09&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="padding: 1px;"&gt;User2:&lt;/TD&gt;&lt;TD align="right"&gt;44.70&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17"&gt;User3:&lt;/TD&gt;&lt;TD align="right"&gt;2107.63&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the sum of all of the parts sales&amp;nbsp; that were on a case and were invoiced within two weeks of the case closing [ClosedDateAndTime]. &lt;/P&gt;&lt;P&gt;There are several parts that are on the cases and have associated sales, but were either sold prior to the case closing or outside the two week window, these have been excluded from the results.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Please let me know if you need any further information. Thanks again for taking the time. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Darren &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Jul 2017 19:46:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-matching-multiple-fields-over-an-interval-of-time/m-p/1344717#M828262</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-08T19:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: Need help matching multiple fields over an interval of time</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-matching-multiple-fields-over-an-interval-of-time/m-p/1344718#M828263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure how you got 192.09 for User1, but other two are matching up&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(If([Invoice Date] &amp;gt;= Floor(ClosedDateAndTime) and [Invoice Date] &amp;lt;= Floor(ClosedDateAndTime) + 14, [Extended Sales Price]))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/169539_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Jul 2017 04:47:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-matching-multiple-fields-over-an-interval-of-time/m-p/1344718#M828263</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-07-09T04:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: Need help matching multiple fields over an interval of time</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-matching-multiple-fields-over-an-interval-of-time/m-p/1344719#M828264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason that User1 does not match is because I am searching against all of the possible Parts on each case. This is the heart of the issue. Each case could have up to 10 part numbers. In the solution that you gave, you are only searching SKUNumber against SKUNumber between the two tables [Fact &amp;amp; SalesData]. It may be best to remove that relationship. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my expected result, User1 worked on part 3099291 (Part4 on the case), the case closed on 1/24 and there was a sale on this part on 1/25 for $111.75. That's the difference in our results. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I need to to search all 10 fields (Part1, Part2, Part3...Part10) from the [Fact] table, for matching part numbers in the &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[SKUNumber] field from the [SalesData] table. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 12:49:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-matching-multiple-fields-over-an-interval-of-time/m-p/1344719#M828264</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-10T12:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: Need help matching multiple fields over an interval of time</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-matching-multiple-fields-over-an-interval-of-time/m-p/1344720#M828265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So based on the example you just gave for 3099291... I tried to check it in your app. It is not associated with Part 4 or any other part when I select 111.75. I am not sure how would your app know that it is related to 30999291 and not any other part?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/169631_Capture.PNG" style="height: 258px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 12:56:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-matching-multiple-fields-over-an-interval-of-time/m-p/1344720#M828265</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-07-10T12:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: Need help matching multiple fields over an interval of time</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-matching-multiple-fields-over-an-interval-of-time/m-p/1344721#M828266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you are correct, that's part of the problem that I'm having. I do not have the parts fields associated, but I'm not sure the best way to do that with 10 separate fields without creating a whole bunch of synthetic keys. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for my ignorance, the developer side is not my strong suit. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 13:51:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-matching-multiple-fields-over-an-interval-of-time/m-p/1344721#M828266</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-10T13:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: Need help matching multiple fields over an interval of time</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-matching-multiple-fields-over-an-interval-of-time/m-p/1344722#M828267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This will increase the number of rows, but will give you what you want. Change in Facts table script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[Facts]:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD CreatedDate as Date, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CreatedTime, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; _cCreatedUserName as Associate, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; _cCaseNumber, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CaseType, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; InquiryType, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PricingSubInquiryType, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PricingReasonCode, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MarketType, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp; SKUNumber, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SKUNumber_List,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;SubField(SKUNumber_List, ';') as SKUNumber,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .....&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM ....&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No change on the front end&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="169633" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/169633_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are concerned about Fact table getting huge, then you can try another alternative where you use &lt;SPAN style="color: #ff0000; font-size: 13.3333px;"&gt;&lt;STRONG&gt;SubField(SKUNumber_List, ';') as SKUNumber, &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;in a link table which will keep your fact table small..... adding v2 with that option....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data model for v1 remains the same, but the number of rows go up for the Facts Table&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="169658" alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/169658_Capture.PNG" style="height: 326px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data model for v2 changes with a new LinkTable, but the number of rows stay the same for Facts table&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="169659" alt="Capture.PNG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/169659_Capture.PNG" style="height: 294px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 15:23:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-matching-multiple-fields-over-an-interval-of-time/m-p/1344722#M828267</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-07-10T15:23:48Z</dc:date>
    </item>
  </channel>
</rss>

