<?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: Link fields of two different table in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Link-fields-of-two-different-table-in-set-analysis/m-p/477879#M178490</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Fabrice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help. But the Concat didnt work. Could you think of any other solution...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Feb 2015 06:54:24 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-02-20T06:54:24Z</dc:date>
    <item>
      <title>Link fields of two different table in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Link-fields-of-two-different-table-in-set-analysis/m-p/477875#M178486</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 a Calendar table and a Attendance table. I am not linking the Calendardate and the Attendance date in the two tables. The two tables are not linked. Now I have a chart where I am taking CalMonth as dimension and I want sume of Hrs worked for that Cal Month.&lt;/P&gt;&lt;P&gt;The expression I have written is taking a lots of time., so I am trying to replace the if by using set analysis. I have written an expression as :&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; {$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;EmpStatus&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'A'}&amp;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;CalMonth&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AttMonth&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CalYear&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AttYear&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: #0000ff; font-size: 8pt;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;EmpStatus&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'A'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ATTWorkFlag&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'Working'}&amp;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;CalMonth&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AttMonth&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CalYear&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AttYear&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;HrsWorkSecs&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)), &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;EmpID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CalMonth&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CalendarDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &amp;gt;=&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;EmpStatus&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'A'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;WorkFlag&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'Working'}&amp;gt;} &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(MinWorkHrsSecs)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;), &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;EmpID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CalMonth&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;BR /&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;EmpID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)))&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I am trying to use set analysis its not giving me any output... Please help!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 12:04:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Link-fields-of-two-different-table-in-set-analysis/m-p/477875#M178486</guid>
      <dc:creator />
      <dc:date>2013-10-16T12:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: Link fields of two different table in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Link-fields-of-two-different-table-in-set-analysis/m-p/477876#M178487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try sth like that in your set:&lt;/P&gt;&lt;P&gt;{&amp;lt; ..... CalMonth = {$(=concat(AttMonth ',')} &amp;gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;assuming that CalMonth and AttMonth have the same key values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fabrice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 12:08:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Link-fields-of-two-different-table-in-set-analysis/m-p/477876#M178487</guid>
      <dc:creator />
      <dc:date>2013-10-16T12:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: Link fields of two different table in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Link-fields-of-two-different-table-in-set-analysis/m-p/477877#M178488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for ur solution,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried like this., but its not giving any output....&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;{$&amp;lt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;EmpStatus&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'A'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CalMonth&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"=AttMonth"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CalYear&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"=AttYear"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 12:19:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Link-fields-of-two-different-table-in-set-analysis/m-p/477877#M178488</guid>
      <dc:creator />
      <dc:date>2013-10-16T12:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: Link fields of two different table in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Link-fields-of-two-different-table-in-set-analysis/m-p/477878#M178489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it is why you should use the concat function, to transfor the value into text&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fabrice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 12:21:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Link-fields-of-two-different-table-in-set-analysis/m-p/477878#M178489</guid>
      <dc:creator />
      <dc:date>2013-10-16T12:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: Link fields of two different table in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Link-fields-of-two-different-table-in-set-analysis/m-p/477879#M178490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Fabrice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help. But the Concat didnt work. Could you think of any other solution...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2015 06:54:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Link-fields-of-two-different-table-in-set-analysis/m-p/477879#M178490</guid>
      <dc:creator />
      <dc:date>2015-02-20T06:54:24Z</dc:date>
    </item>
  </channel>
</rss>

