<?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 sum if help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/sum-if-help/m-p/649582#M1062251</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to write a "sumifs" expression that takes into account criteria from the same table....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="199" style="border: 1px solid rgb(0, 0, 0); width: 389px; height: 193.52px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Table&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;Name&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;Time &lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Task&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;P&gt;Dave&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;01:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Task&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Dave&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;00:30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Task&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Dave&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;02:30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Task&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Alan&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;01:30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Task&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Alan&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;00:30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Full Time Hours&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Dave&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;08:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Full Time Hours&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Alan&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;08:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Full Time Hours&lt;/TD&gt;Steve&lt;TD style="padding: 2px;"&gt;08:00&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm creating a pie chart that has the Task data added up as one slice, then the (Full time hours - task data added up) - this will give me the amount of time where tasks have not been completed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My issue is that I do not want to include "Steve" in the "non task" time as he is not related to the task information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Sep 2014 12:01:00 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-09-19T12:01:00Z</dc:date>
    <item>
      <title>sum if help</title>
      <link>https://community.qlik.com/t5/QlikView/sum-if-help/m-p/649582#M1062251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to write a "sumifs" expression that takes into account criteria from the same table....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="199" style="border: 1px solid rgb(0, 0, 0); width: 389px; height: 193.52px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Table&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;Name&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;Time &lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Task&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;P&gt;Dave&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;01:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Task&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Dave&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;00:30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Task&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Dave&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;02:30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Task&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Alan&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;01:30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Task&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Alan&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;00:30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Full Time Hours&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Dave&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;08:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Full Time Hours&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Alan&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;08:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Full Time Hours&lt;/TD&gt;Steve&lt;TD style="padding: 2px;"&gt;08:00&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm creating a pie chart that has the Task data added up as one slice, then the (Full time hours - task data added up) - this will give me the amount of time where tasks have not been completed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My issue is that I do not want to include "Steve" in the "non task" time as he is not related to the task information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 12:01:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-if-help/m-p/649582#M1062251</guid>
      <dc:creator />
      <dc:date>2014-09-19T12:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: sum if help</title>
      <link>https://community.qlik.com/t5/QlikView/sum-if-help/m-p/649583#M1062253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could not understand ur requirement.. Pls clarify.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Sep 2014 05:29:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-if-help/m-p/649583#M1062253</guid>
      <dc:creator>sundarakumar</dc:creator>
      <dc:date>2014-09-21T05:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: Re: sum if help</title>
      <link>https://community.qlik.com/t5/QlikView/sum-if-help/m-p/649584#M1062255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Picture2.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/67306_Picture2.png" style="width: 620px; height: 241px;" /&gt;&lt;BR /&gt;I'm trying to replicate something similar to the above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My if statement needs to add up the task time for individuals but only take into account the Full time hours if they have completed tasks that day.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Sorry, in my original post the final line should read Full Time Hours , Steve , 08:00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need a statement that is something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF NAME has completed a "Task", (ADD up Their "Full Time Hours") -&amp;nbsp; (TOTAL of "Task Duration")&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2014 07:57:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-if-help/m-p/649584#M1062255</guid>
      <dc:creator />
      <dc:date>2014-09-22T07:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: Re: sum if help</title>
      <link>https://community.qlik.com/t5/QlikView/sum-if-help/m-p/649585#M1062257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From my understanding u want a pie to be shown with split up for task completed and task incomplete..&lt;/P&gt;&lt;P&gt;now u want a split up in task incomplete with who all are the defaulters. for this i would recomendto create a new field in the back end like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(time=8, 'Full time', name) as name_ful_part&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this new field "name_full_part" will return as Full time if it is complete and it will consider name if it is part time. in pie it will show up as desired.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This can even be done with a calculated dimension which is less Prefered. something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(time=8,'Ful;l time',name) in the calculated dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps..&lt;/P&gt;&lt;P&gt;-Sundar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2014 08:06:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-if-help/m-p/649585#M1062257</guid>
      <dc:creator>sundarakumar</dc:creator>
      <dc:date>2014-09-22T08:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: sum if help</title>
      <link>https://community.qlik.com/t5/QlikView/sum-if-help/m-p/649586#M1062259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hmm.... if i understand this correctly. you have 2 table, one stores the total hours a person need to complete all the tasks. another is the hours the person spend on each task. &lt;/P&gt;&lt;P&gt;so it does make sense if you want to display how much time a person already spend compare to the total he have. for example, Alan already spend 40% of his total time. but summing everyone's time together and display in one pie chart sounds a bit wired.... unless they all share the same Tasks. For example, Alan and Dave share a job which need to complete in 20 hour. Alan already completed 20% and Dave completed 35%. if this is the case, your table structure will have to change.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2014 08:16:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-if-help/m-p/649586#M1062259</guid>
      <dc:creator />
      <dc:date>2014-09-22T08:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: sum if help</title>
      <link>https://community.qlik.com/t5/QlikView/sum-if-help/m-p/649587#M1062261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think I have explained my problem very well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a list of staff's full time employment hours. I also have a data input from a system that records when work is being done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I am trying to find out is how much of the staff's working day is captured in this system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I.e I am employed for 8 hours a day - my work complete on the system adds up to 4 hours, therefore I would show a pie chart of 50% work completed, 50% unknown.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue is that I have the working hours for all staff and not all staff will be using the system at the same time - I therefore only want to take into account employees that have used the system over the time period specified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I might need a variable field in my table that says if this date is related to the current selections and the employee has captured work on the system, I need to add up their full time hours.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this make sense yet?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2014 08:22:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-if-help/m-p/649587#M1062261</guid>
      <dc:creator />
      <dc:date>2014-09-22T08:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: sum if help</title>
      <link>https://community.qlik.com/t5/QlikView/sum-if-help/m-p/649588#M1062263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;oh... so sorry. i was not reading your questions.... so You want to hide "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;Steve&lt;/SPAN&gt;" who don't have "Task".... I think you can add a condition in your expression If(Count(DISTINCT TaskId) &amp;lt;=0, NULL(), xxxx) and in the Presentation tab, check "Suppress Missing".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2014 09:05:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-if-help/m-p/649588#M1062263</guid>
      <dc:creator />
      <dc:date>2014-09-22T09:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: sum if help</title>
      <link>https://community.qlik.com/t5/QlikView/sum-if-help/m-p/649589#M1062265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the end I added an apply map lookup within the script - thank you for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2014 12:51:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-if-help/m-p/649589#M1062265</guid>
      <dc:creator />
      <dc:date>2014-09-22T12:51:42Z</dc:date>
    </item>
  </channel>
</rss>

