<?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 Filter data when two dimensions match in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Filter-data-when-two-dimensions-match/m-p/1086759#M1253794</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have dimensions called Assignee and Customer, and I want to filter the data to see only work tickets which are self-initiated. My thought is to create a dimension called Self Initiated and have the value set to 1 (or true) if Assignee=Customer and 0 or false if it does not. I want to see the work tickets that are self initiated. What is the best way to accomplish this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
    <dc:creator>ttmaroney</dc:creator>
    <dc:date>2026-01-26T18:19:17Z</dc:date>
    <item>
      <title>Filter data when two dimensions match</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-data-when-two-dimensions-match/m-p/1086759#M1253794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have dimensions called Assignee and Customer, and I want to filter the data to see only work tickets which are self-initiated. My thought is to create a dimension called Self Initiated and have the value set to 1 (or true) if Assignee=Customer and 0 or false if it does not. I want to see the work tickets that are self initiated. What is the best way to accomplish this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-data-when-two-dimensions-match/m-p/1086759#M1253794</guid>
      <dc:creator>ttmaroney</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Filter data when two dimensions match</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-data-when-two-dimensions-match/m-p/1086760#M1253797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If Assignee and Customer comes from the same table, you can surely create a flag (0 or 1) and then use the flag in your set analysis &lt;STRONG&gt;{&amp;lt;Flag = {1}&amp;gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 17:52:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-data-when-two-dimensions-match/m-p/1086760#M1253797</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-03T17:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Filter data when two dimensions match</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-data-when-two-dimensions-match/m-p/1086761#M1253801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Both variables are loaded from the same sql database. How would I accomplish this with a flag?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2016 20:37:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-data-when-two-dimensions-match/m-p/1086761#M1253801</guid>
      <dc:creator>ttmaroney</dc:creator>
      <dc:date>2016-03-09T20:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: Filter data when two dimensions match</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-data-when-two-dimensions-match/m-p/1086762#M1253804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are they variables or fields?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2016 21:34:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-data-when-two-dimensions-match/m-p/1086762#M1253804</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-09T21:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: Filter data when two dimensions match</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-data-when-two-dimensions-match/m-p/1086763#M1253807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Both are Fields [Assignee Name] and [Customer Name], and both fields load and I can filter by them. For now I made a table with those fields and [Ticket Number], exported it to Excel, and made a variable [Self Gen] and made it 1 if the [Assignee Name] =[Customer Name] and 0 if it doesn't, then loaded that spreadsheet into QlikView with only the [Ticket Number] and [Self Gen] fields. The problem is we have over 550,000 tickets and now I've added a manual process that's will not update when I reload data. There has to be a better way. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 13:15:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-data-when-two-dimensions-match/m-p/1086763#M1253807</guid>
      <dc:creator>ttmaroney</dc:creator>
      <dc:date>2016-03-10T13:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: Filter data when two dimensions match</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-data-when-two-dimensions-match/m-p/1086764#M1253809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your load script have you tried this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If([Assignee Name] = [Customer Name], 1, 0) as Flag&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 13:21:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-data-when-two-dimensions-match/m-p/1086764#M1253809</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-10T13:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: Filter data when two dimensions match</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-data-when-two-dimensions-match/m-p/1086765#M1253812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can stay in Qlik, add the variable as Sunny defined. I'd give it a twist, but the formula remains :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Assignee Name] = [Customer Name], 'yes', 'no') as [&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Self Initiated].&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you make a table in Qlik with the 2 fields you used to load from Excel (&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Ticket Number] and [Self Gen] fields), and you make sure you can select 'yes' in the Self Initiated field, then I think you get what you need.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Johan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 14:02:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-data-when-two-dimensions-match/m-p/1086765#M1253812</guid>
      <dc:creator>puttemans</dc:creator>
      <dc:date>2016-03-10T14:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: Filter data when two dimensions match</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-data-when-two-dimensions-match/m-p/1086766#M1253813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With both methods I am getting a script error when I reload the data after adding the code.&amp;nbsp; I have added a tab in the script editor at demoted that tab to the last. With both methods, the coma after [Customer Name] is underlined in red (I underlined it below). That makes me think there is a simple syntax error, like a missing {} or sa space issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;IF&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Assignee Name]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Customer Name]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;,&lt;/STRONG&gt; &lt;/SPAN&gt;'yes', 'no') as &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Self Initiated] &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;If&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Assignee Name]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)=(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Customer Name]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;,&lt;/STRONG&gt;&lt;/SPAN&gt;1,0&lt;/SPAN&gt;&lt;STRONG style=": ; color: #ff0000; font-size: 8pt;"&gt;)&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; as Flag&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 14:17:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-data-when-two-dimensions-match/m-p/1086766#M1253813</guid>
      <dc:creator>ttmaroney</dc:creator>
      <dc:date>2016-03-10T14:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: Filter data when two dimensions match</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-data-when-two-dimensions-match/m-p/1086767#M1253814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you adding this within your load statement, correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD [Assignee Name],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Customer Name],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OtherFields,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If([Assignee Name] = [Customer Name], 1, 0) as Flag&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM/Resident ...&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 14:23:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-data-when-two-dimensions-match/m-p/1086767#M1253814</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-10T14:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: Filter data when two dimensions match</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-data-when-two-dimensions-match/m-p/1086768#M1253815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;WOW!. Both of you guys have been very helpful. There is no way I could have done with without your help.&amp;nbsp; I am building an application upon a load statement written by someone else that pulls data directly from an SQL database.&amp;nbsp; This is part of the first tab of the load:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT Customer.last_name + ', ' + Customer.first_name AS [Customer Name]&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,Assignee.last_name + ', ' + Assignee.first_name AS [Assignee Name] &lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I took Sunny's input on the load statement (which made the red underline in the condition go away), and I used Putteman's if statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;SelfGen:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;Load&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Assignee Name]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Customer Name]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Assignee Name]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Customer Name]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, 'yes', 'no') &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Self Initiated]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RESIDENT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Tickets&lt;BR /&gt; ; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;And it works like a champ with no additional labor, which is the way I like it.&amp;nbsp; Thank you both again. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 14:56:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-data-when-two-dimensions-match/m-p/1086768#M1253815</guid>
      <dc:creator>ttmaroney</dc:creator>
      <dc:date>2016-03-10T14:56:00Z</dc:date>
    </item>
  </channel>
</rss>

