<?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 Calculation Based on a Specific Selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculation-Based-on-a-Specific-Selection/m-p/356981#M578064</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the below expression to exclude the "0" Block Time from the calculation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;Ay=,Yil={'$(=GetFieldSelections(Yil))'},[Blok Time]={"&amp;gt;0"}&amp;gt;} UDAYS_NUM_AIR)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sajeevan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 18 Mar 2012 12:27:54 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-03-18T12:27:54Z</dc:date>
    <item>
      <title>Calculation Based on a Specific Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Calculation-Based-on-a-Specific-Selection/m-p/356980#M578063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;In the attached file I need to create a calculation which depends on the selection of Veri_Tipi field. In the Veri Tipi field there are 6 different values as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A&lt;BR /&gt;B&lt;BR /&gt;D&lt;BR /&gt;L&lt;BR /&gt;M&lt;BR /&gt;S &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Block Time values are avialable for A and S selections just until today.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the other selections block time value is avialable for the whole year or month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In "Detaylı Liste" chart you can see the dates with Block Time Value , Number of Vehicle and Utilization Hour for A selection of Veri_Tipi. The utilization hour expression takes the zero block time values into consideration so the result is 06:02 for March 2012. But it should not take consider zero values for the utilzation hour expression so the result should be 12:25 as you can see the attached excel file (The_Real_Result.xlsx).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same problem is also valid for S selection on Veri_Tipi field.Hope to hear you soon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Mar 2012 21:37:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculation-Based-on-a-Specific-Selection/m-p/356980#M578063</guid>
      <dc:creator />
      <dc:date>2012-03-17T21:37:24Z</dc:date>
    </item>
    <item>
      <title>Calculation Based on a Specific Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Calculation-Based-on-a-Specific-Selection/m-p/356981#M578064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the below expression to exclude the "0" Block Time from the calculation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;Ay=,Yil={'$(=GetFieldSelections(Yil))'},[Blok Time]={"&amp;gt;0"}&amp;gt;} UDAYS_NUM_AIR)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sajeevan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Mar 2012 12:27:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculation-Based-on-a-Specific-Selection/m-p/356981#M578064</guid>
      <dc:creator />
      <dc:date>2012-03-18T12:27:54Z</dc:date>
    </item>
  </channel>
</rss>

