<?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 on a formula when comparing for two things that must match in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Need-help-on-a-formula-when-comparing-for-two-things-that-must/m-p/2513319#M148934</link>
    <description>&lt;P&gt;If both fields and their values needs to be evaluated in common a set analysis isn't suitable else an if-loop will ne necessary, maybe like:&lt;/P&gt;&lt;P&gt;if(&lt;SPAN&gt;match([VCODETAIL_Credit Reason],&lt;BR /&gt;&amp;nbsp; &amp;nbsp;'009','010','011','012','013','014','015','016','017','018','019','020','022','023','036','037') and&lt;BR /&gt;&amp;nbsp; &amp;nbsp;match([VCODETAIL_Credit Person],&lt;BR /&gt;&amp;nbsp; &amp;nbsp;'AL','AF','AS', 'CD','DF','EB','EW','HS','KMK','MO','MS','MG','MJ','MF','RB','RC','SR','SW'), count([OrderHeader Count]))&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 07 Apr 2025 09:12:31 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2025-04-07T09:12:31Z</dc:date>
    <item>
      <title>Need help on a formula when comparing for two things that must match</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Need-help-on-a-formula-when-comparing-for-two-things-that-must/m-p/2512784#M148932</link>
      <description>&lt;P&gt;count({$&amp;lt;[VCODETAIL_Credit Reason] = {'009','010','011','012','013','014','015','016','017','018','019','020','022','023','036','037'}, [VCODETAIL_Credit Person] = {'AL','AF','AS', 'CD','DF','EB','EW','HS','KMK','MO','MS','MG','MJ','MF','RB','RC','SR','SW'}&amp;gt;} [OrderHeader Count])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;above is the formula, but its only counting for the credit reason codes but its not pulling from the right credit person that is found in the file VCODETAIL.&amp;nbsp; Why?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jan 2026 14:45:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Need-help-on-a-formula-when-comparing-for-two-things-that-must/m-p/2512784#M148932</guid>
      <dc:creator>SDeLa131</dc:creator>
      <dc:date>2026-01-02T14:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: Need help on a formula when comparing for two things that must match</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Need-help-on-a-formula-when-comparing-for-two-things-that-must/m-p/2513300#M148933</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe this one:&lt;/P&gt;&lt;P&gt;count({$&amp;lt;[VCODETAIL_Credit Reason] = {'009','010','011','012','013','014','015','016','017','018','019','020','022','023','036','037'}&amp;gt;+ &amp;lt;[VCODETAIL_Credit Person] = {'AL','AF','AS', 'CD','DF','EB','EW','HS','KMK','MO','MS','MG','MJ','MF','RB','RC','SR','SW'}&amp;gt;} [OrderHeader Count])&lt;/P&gt;&lt;P&gt;(&lt;A href="https://help.qlik.com/en-US/sense/November2024/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/SetAnalysis/set-operators.htm" target="_blank"&gt;Set operators | Qlik Sense on Windows Help&lt;/A&gt;) Since + is the union operator&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2025 08:05:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Need-help-on-a-formula-when-comparing-for-two-things-that-must/m-p/2513300#M148933</guid>
      <dc:creator>mpc</dc:creator>
      <dc:date>2025-04-07T08:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: Need help on a formula when comparing for two things that must match</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Need-help-on-a-formula-when-comparing-for-two-things-that-must/m-p/2513319#M148934</link>
      <description>&lt;P&gt;If both fields and their values needs to be evaluated in common a set analysis isn't suitable else an if-loop will ne necessary, maybe like:&lt;/P&gt;&lt;P&gt;if(&lt;SPAN&gt;match([VCODETAIL_Credit Reason],&lt;BR /&gt;&amp;nbsp; &amp;nbsp;'009','010','011','012','013','014','015','016','017','018','019','020','022','023','036','037') and&lt;BR /&gt;&amp;nbsp; &amp;nbsp;match([VCODETAIL_Credit Person],&lt;BR /&gt;&amp;nbsp; &amp;nbsp;'AL','AF','AS', 'CD','DF','EB','EW','HS','KMK','MO','MS','MG','MJ','MF','RB','RC','SR','SW'), count([OrderHeader Count]))&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2025 09:12:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Need-help-on-a-formula-when-comparing-for-two-things-that-must/m-p/2513319#M148934</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2025-04-07T09:12:31Z</dc:date>
    </item>
  </channel>
</rss>

