<?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 Scoring question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Scoring-question/m-p/714254#M677502</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a question about giving a score to my clients based on the following information:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; If the number of work orders in a 12 month period is greater than .60.&amp;nbsp; This is calculated by Number of Work Orders / Number of Students.&amp;nbsp; If true then they get 1 point.&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; If the number of labor hours on work orders is greater than .60.&amp;nbsp;&amp;nbsp; This is calculated by Total Labor Hours / Number of Work Orders.&amp;nbsp; If true then they get 1 point.&lt;/P&gt;&lt;P&gt;3.&amp;nbsp; So a client could have 1, 2, or 3 points depending on their results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following data points&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; Organization Name&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; Work Order Created Date.&lt;/P&gt;&lt;P&gt;3.&amp;nbsp; WOID&lt;/P&gt;&lt;P&gt;4.&amp;nbsp; Labor Hours&lt;/P&gt;&lt;P&gt;5.&amp;nbsp; Transaction Date for Labor Hours&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now what I would like to do is show their score over time.&amp;nbsp; So something that looks like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Organization Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Score 2002&amp;nbsp;&amp;nbsp; Score 2003&amp;nbsp;&amp;nbsp;&amp;nbsp; Score 2004&lt;/P&gt;&lt;P&gt;A&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;&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&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;&amp;nbsp; 2&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to run it for each year starting in 2002 - 2014.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I would like the 12 month number to based on Work order and Transaction Date starting with today and going back 12 months.&amp;nbsp; In other words:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2014 - Today - 12 months.&lt;/P&gt;&lt;P&gt;2013 - 12months ago - 12 months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would love to run this one time and get all the numbers instead of having to run a year at that time.&amp;nbsp; Does this make sense?&amp;nbsp; If so any ideas on how to begin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jun 2014 16:06:36 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-06-19T16:06:36Z</dc:date>
    <item>
      <title>Scoring question</title>
      <link>https://community.qlik.com/t5/QlikView/Scoring-question/m-p/714254#M677502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a question about giving a score to my clients based on the following information:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; If the number of work orders in a 12 month period is greater than .60.&amp;nbsp; This is calculated by Number of Work Orders / Number of Students.&amp;nbsp; If true then they get 1 point.&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; If the number of labor hours on work orders is greater than .60.&amp;nbsp;&amp;nbsp; This is calculated by Total Labor Hours / Number of Work Orders.&amp;nbsp; If true then they get 1 point.&lt;/P&gt;&lt;P&gt;3.&amp;nbsp; So a client could have 1, 2, or 3 points depending on their results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following data points&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; Organization Name&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; Work Order Created Date.&lt;/P&gt;&lt;P&gt;3.&amp;nbsp; WOID&lt;/P&gt;&lt;P&gt;4.&amp;nbsp; Labor Hours&lt;/P&gt;&lt;P&gt;5.&amp;nbsp; Transaction Date for Labor Hours&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now what I would like to do is show their score over time.&amp;nbsp; So something that looks like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Organization Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Score 2002&amp;nbsp;&amp;nbsp; Score 2003&amp;nbsp;&amp;nbsp;&amp;nbsp; Score 2004&lt;/P&gt;&lt;P&gt;A&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;&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&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;&amp;nbsp; 2&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to run it for each year starting in 2002 - 2014.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I would like the 12 month number to based on Work order and Transaction Date starting with today and going back 12 months.&amp;nbsp; In other words:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2014 - Today - 12 months.&lt;/P&gt;&lt;P&gt;2013 - 12months ago - 12 months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would love to run this one time and get all the numbers instead of having to run a year at that time.&amp;nbsp; Does this make sense?&amp;nbsp; If so any ideas on how to begin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 16:06:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scoring-question/m-p/714254#M677502</guid>
      <dc:creator />
      <dc:date>2014-06-19T16:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: Scoring question</title>
      <link>https://community.qlik.com/t5/QlikView/Scoring-question/m-p/714255#M677503</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; Why don't you just calculate the scores in front-end ?&lt;/P&gt;&lt;P&gt;Something like this:&lt;/P&gt;&lt;P&gt;=rangesum(if(Count(distinct WOID)&amp;gt;60,1), if(Sum(Labor Hours)&amp;gt;60, 1))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For referencing the data based on rolling 12-moths you can use AsOfTable approach.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-4252"&gt;Calculating rolling n-period totals, averages or other aggregations&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: How can a client get 3 points if you have only 2 conditions? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Jun 2014 18:18:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scoring-question/m-p/714255#M677503</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2014-06-22T18:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: Scoring question</title>
      <link>https://community.qlik.com/t5/QlikView/Scoring-question/m-p/714256#M677504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much.&amp;nbsp; You are correct about the points.&amp;nbsp; I was thinking about adding another score but didnt and forgot to update the text.&amp;nbsp; I will take a look at the link.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Jun 2014 21:47:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scoring-question/m-p/714256#M677504</guid>
      <dc:creator />
      <dc:date>2014-06-22T21:47:11Z</dc:date>
    </item>
  </channel>
</rss>

