<?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: Expressions if FieldA = FieldB in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expressions-if-FieldA-FieldB/m-p/1510067#M601560</link>
    <description>&lt;P&gt;&lt;SPAN&gt;I'm still a bit unclear about what your data looks like. Is this part of the original question? If it is then you are able to mix set analysis with what I posted, so&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Count(&amp;lt;{obj_type_code={‘CHB’,’BBF’},app_gc=P(app_gc1)&amp;gt; distinct &amp;nbsp;If(FieldA = FieldB, inv_no&amp;nbsp;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is a valid statement. Is there data you can post to explain further?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 21 Nov 2018 00:04:07 GMT</pubDate>
    <dc:creator>lblumenfeld</dc:creator>
    <dc:date>2018-11-21T00:04:07Z</dc:date>
    <item>
      <title>Expressions if FieldA = FieldB</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-if-FieldA-FieldB/m-p/1510047#M601556</link>
      <description>Hi everyone&lt;BR /&gt;&lt;BR /&gt;Is it possible to use an expression to match a field&lt;BR /&gt;For example&lt;BR /&gt;Count({&amp;lt;fieldA=FieldB&amp;gt;}value)&lt;BR /&gt;&lt;BR /&gt;The reason I ask is that I want a count to reference the same dimension but the tables aren’t / can’t be joined without causing an issue with loops&lt;BR /&gt;I would like this formula to sit in the same table as others</description>
      <pubDate>Sat, 16 Nov 2024 05:11:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-if-FieldA-FieldB/m-p/1510047#M601556</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T05:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions if FieldA = FieldB</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-if-FieldA-FieldB/m-p/1510062#M601557</link>
      <description>&lt;P&gt;The simplest way to do this is&amp;nbsp;&lt;/P&gt;&lt;P&gt;Count( If(FieldA = FieldB, Value))&lt;/P&gt;&lt;P&gt;You can also use set analysis, but this works and is simpler.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Nov 2018 23:09:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-if-FieldA-FieldB/m-p/1510062#M601557</guid>
      <dc:creator>lblumenfeld</dc:creator>
      <dc:date>2018-11-20T23:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions if FieldA = FieldB</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-if-FieldA-FieldB/m-p/1510066#M601559</link>
      <description>Thanks for the quick reply - unfortunately I have some additional set analysis and it doesn’t seem to be compatible...&lt;BR /&gt;I just tried&lt;BR /&gt;Count(&amp;lt;{obj_type_code={‘CHB’,’BBF’},app_gc=P(app_gc1)&amp;gt;}DISTINCT(inv_no))&lt;BR /&gt;&lt;BR /&gt;The app_gc has breakdown information in it and&lt;BR /&gt;The app_gc1 , obj_type_code and inv_no are in a separate table and have static product holdings&lt;BR /&gt;I can’t link them without losing info from the holdings&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Nov 2018 23:45:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-if-FieldA-FieldB/m-p/1510066#M601559</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-20T23:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions if FieldA = FieldB</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-if-FieldA-FieldB/m-p/1510067#M601560</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I'm still a bit unclear about what your data looks like. Is this part of the original question? If it is then you are able to mix set analysis with what I posted, so&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Count(&amp;lt;{obj_type_code={‘CHB’,’BBF’},app_gc=P(app_gc1)&amp;gt; distinct &amp;nbsp;If(FieldA = FieldB, inv_no&amp;nbsp;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is a valid statement. Is there data you can post to explain further?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Nov 2018 00:04:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-if-FieldA-FieldB/m-p/1510067#M601560</guid>
      <dc:creator>lblumenfeld</dc:creator>
      <dc:date>2018-11-21T00:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions if FieldA = FieldB</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-if-FieldA-FieldB/m-p/1510187#M601561</link>
      <description>I think you have done it thank you - I think the problem I have is that the volume of data I have is causing the program to give me the white screen of death !! &lt;span class="lia-unicode-emoji" title=":face_with_tears_of_joy:"&gt;😂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;I knocked up an example to share&lt;BR /&gt;&lt;BR /&gt;Count({&amp;lt;obj_type_code={'CHB','BBF'}&amp;gt;}Distinct IF( gcn = gcn1, inv_code))&lt;BR /&gt;&lt;BR /&gt;This has allowed to non linked tables with similar to sit within the same report&lt;BR /&gt;Note: I couldn’t link the tables due to filtering inconsistencies on the breakdowns table&lt;BR /&gt;Example =&lt;BR /&gt;Table1 is the Customer Holdings&lt;BR /&gt;Table 2 is the breakdowns&lt;BR /&gt;&lt;BR /&gt;Simplified &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;</description>
      <pubDate>Wed, 21 Nov 2018 09:03:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-if-FieldA-FieldB/m-p/1510187#M601561</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-21T09:03:02Z</dc:date>
    </item>
  </channel>
</rss>

