<?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: I need to analyze two dimension, please help. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/I-need-to-analyze-two-dimension-please-help/m-p/994273#M338483</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;This works fine on the "dashboard", but I need to do it on the script, the reason is that this is just an step that leads to other calculations, where I need the exact number of "emails" per "usertittle", that is why I need to erase the ones that have the less working hours per month, when repeated.&lt;/P&gt;&lt;P&gt;Could you tell me how to do it in the script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Jan 2016 15:32:25 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-01-22T15:32:25Z</dc:date>
    <item>
      <title>I need to analyze two dimension, please help.</title>
      <link>https://community.qlik.com/t5/QlikView/I-need-to-analyze-two-dimension-please-help/m-p/994266#M338476</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;This is my problem: I am currently working with a data base that assigns an user tittle to a employee depending on the amount of hours she or he reported in the time sheet. I have a table with all the emails and user tittle, but I don't know how to make an analysis that compares dimensions when repeated, the table looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="149" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#000000&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&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;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" style="border: 1px solid #000000; width: 780px; height: 140px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;month&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;email&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;usertittle&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;workinghours&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Jan 2014&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;A class="jive-link-email-small" href="mailto:jcarson@something.com"&gt;jcarson@something.com&lt;/A&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;developer&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;90&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Feb 2014&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;A class="jive-link-email-small" href="mailto:jcarson@something.com"&gt;jcarson@something.com&lt;/A&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;developer&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Feb 2014&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;A class="jive-link-email-small" href="mailto:jcarson@something.com"&gt;jcarson@something.com&lt;/A&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;manager&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;88&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Mar 2014&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;A class="jive-link-email-small" href="mailto:jcarson@something.com"&gt;jcarson@something.com&lt;/A&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;manager&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;93&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Apr 2014&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;A class="jive-link-email-small" href="mailto:jcarson@something.com"&gt;jcarson@something.com&lt;/A&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;manager&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;90&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case the user jcarson was a developer in January, but in February he changed to manager, now the table has duplicates but I can not just load distinct because it would analyze witch user tittle the user really was in the month, in this example jcarson was a developer in February as well as a Manager, but given though he reported more hours (78 more) as a manager, I assign the manager tittle to this user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont have a clue of the script I would need to write to make this kind of analysis every month, please help me &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 18:41:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/I-need-to-analyze-two-dimension-please-help/m-p/994266#M338476</guid>
      <dc:creator />
      <dc:date>2015-10-29T18:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: I need to analyze two dimension, please help.</title>
      <link>https://community.qlik.com/t5/QlikView/I-need-to-analyze-two-dimension-please-help/m-p/994267#M338477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would suggest you to keep on adding month on month data with out doing any changes to existing data. Also concatenate new data to existing data n join data based on user title. &lt;/P&gt;&lt;P&gt;You can use aggr function to arrive at the result n it would be work hrs by user title&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 19:11:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/I-need-to-analyze-two-dimension-please-help/m-p/994267#M338477</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-29T19:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: I need to analyze two dimension, please help.</title>
      <link>https://community.qlik.com/t5/QlikView/I-need-to-analyze-two-dimension-please-help/m-p/994268#M338478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to post an excell sheet of what you are expecting.&amp;nbsp; Design a report with a simple columns.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 19:22:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/I-need-to-analyze-two-dimension-please-help/m-p/994268#M338478</guid>
      <dc:creator>jolivares</dc:creator>
      <dc:date>2015-10-29T19:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: I need to analyze two dimension, please help.</title>
      <link>https://community.qlik.com/t5/QlikView/I-need-to-analyze-two-dimension-please-help/m-p/994269#M338479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I might have not be to clear about what I am trying to accomplish. The idea is to set an analysis inside the data on the user dimension, so when every time this appear duplicate (the email dimension), it can&amp;nbsp; choose the user tittle with the most hours on its time sheet.&lt;/P&gt;&lt;P&gt;I am trying to do it by counting the email by months and then setting an if expression if the resulted count is bigger than one, thus this indicates there is a duplicate, and then with max over the hour dimension trying to get the biggest one of the duplicates, but it is not working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 19:26:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/I-need-to-analyze-two-dimension-please-help/m-p/994269#M338479</guid>
      <dc:creator />
      <dc:date>2015-10-29T19:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: I need to analyze two dimension, please help.</title>
      <link>https://community.qlik.com/t5/QlikView/I-need-to-analyze-two-dimension-please-help/m-p/994270#M338480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Done!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 20:12:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/I-need-to-analyze-two-dimension-please-help/m-p/994270#M338480</guid>
      <dc:creator />
      <dc:date>2015-10-29T20:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: I need to analyze two dimension, please help.</title>
      <link>https://community.qlik.com/t5/QlikView/I-need-to-analyze-two-dimension-please-help/m-p/994271#M338481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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;max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;workinghours&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;email&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;month&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 20:49:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/I-need-to-analyze-two-dimension-please-help/m-p/994271#M338481</guid>
      <dc:creator />
      <dc:date>2015-10-29T20:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: I need to analyze two dimension, please help.</title>
      <link>https://community.qlik.com/t5/QlikView/I-need-to-analyze-two-dimension-please-help/m-p/994272#M338482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Hello Jesus,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;please check the attached app.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;the formula in pivot is as follows:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;=&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #800080;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;workinghours&lt;/SPAN&gt;)&amp;lt;&amp;gt;&lt;SPAN style="color: #800080;"&gt;max&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;total&lt;/SPAN&gt; &amp;lt;&lt;SPAN style="color: #800000;"&gt;month&lt;/SPAN&gt;&amp;gt; &lt;SPAN style="color: #0000ff;"&gt;aggr&lt;/SPAN&gt;(&lt;SPAN style="color: #800080;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;workinghours&lt;/SPAN&gt;),&lt;SPAN style="color: #800000;"&gt;month&lt;/SPAN&gt;,&lt;SPAN style="color: #800000;"&gt;usertittle&lt;/SPAN&gt;)),&lt;SPAN style="color: #0000ff;"&gt;null&lt;/SPAN&gt;(),&lt;SPAN style="color: #800080;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;workinghours&lt;/SPAN&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;How it works:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;1. it puts NULL as value if the result is different than max result for given month.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Max: =&lt;SPAN style="color: #800080;"&gt;max&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;total&lt;/SPAN&gt; &amp;lt;&lt;SPAN style="color: #800000;"&gt;month&lt;/SPAN&gt;&amp;gt; &lt;SPAN style="color: #0000ff;"&gt;aggr&lt;/SPAN&gt;(&lt;SPAN style="color: #800080;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;workinghours&lt;/SPAN&gt;),&lt;SPAN style="color: #800000;"&gt;month&lt;/SPAN&gt;,&lt;SPAN style="color: #800000;"&gt;usertittle&lt;/SPAN&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;2. Then in Presentation tab click Supress Zero values.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;hope that explains.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;rgds,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Artur&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2015 15:54:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/I-need-to-analyze-two-dimension-please-help/m-p/994272#M338482</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-30T15:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: I need to analyze two dimension, please help.</title>
      <link>https://community.qlik.com/t5/QlikView/I-need-to-analyze-two-dimension-please-help/m-p/994273#M338483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;This works fine on the "dashboard", but I need to do it on the script, the reason is that this is just an step that leads to other calculations, where I need the exact number of "emails" per "usertittle", that is why I need to erase the ones that have the less working hours per month, when repeated.&lt;/P&gt;&lt;P&gt;Could you tell me how to do it in the script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 15:32:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/I-need-to-analyze-two-dimension-please-help/m-p/994273#M338483</guid>
      <dc:creator />
      <dc:date>2016-01-22T15:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: I need to analyze two dimension, please help.</title>
      <link>https://community.qlik.com/t5/QlikView/I-need-to-analyze-two-dimension-please-help/m-p/994274#M338484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jesus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please find the file attached where the calculation is all done in the script.&lt;/P&gt;&lt;P&gt;Hope that sorts you out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Artur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2016 10:12:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/I-need-to-analyze-two-dimension-please-help/m-p/994274#M338484</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-25T10:12:17Z</dc:date>
    </item>
  </channel>
</rss>

