<?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>Question Re: Using the Tag Query's Statistics Mode in Product Lifecycle Management Q&amp;A</title>
    <link>https://community.sap.com/t5/product-lifecycle-management-q-a/using-the-tag-query-s-statistics-mode/qaa-p/3168379#M14527</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;xMII will typically do stats processing from HistoryEvent data, only when native stats processing in not available in the underlying system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeremy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Dec 2007 04:15:10 GMT</pubDate>
    <dc:creator>jcgood25</dc:creator>
    <dc:date>2007-12-12T04:15:10Z</dc:date>
    <item>
      <title>Using the Tag Query's Statistics Mode</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/using-the-tag-query-s-statistics-mode/qaq-p/3168374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've tried to come up with the average of tag values over a span of a month two different ways:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.  using the Statistics mode&lt;/P&gt;&lt;P&gt;2.  using the HistoryEvent mode and averaging the resultant data with an average function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For most tags the two results are quite similar.  I have one tag however that contains a lot of zero values and for that tag, the Statistics mode average is about 10% higher than the HistoryEvent mode average. It's like the Statistics mode ignores the zero values when doing it's calculations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this correct?  My tag query is returning data from six tags - does this cause the Statistics mode any heartache?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;David Macindoe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2007 23:42:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/using-the-tag-query-s-statistics-mode/qaq-p/3168374</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-06T23:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: Using the Tag Query's Statistics Mode</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/using-the-tag-query-s-statistics-mode/qaa-p/3168375#M14523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Statistics Mode can be specific to the actual Data Source itself - what is your underlying Historian?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6 tags shouldn't matter since each one is independent when it comes to MIN,MAX,AVG, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jeremy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2007 16:04:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/using-the-tag-query-s-statistics-mode/qaa-p/3168375#M14523</guid>
      <dc:creator>jcgood25</dc:creator>
      <dc:date>2007-12-07T16:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: Using the Tag Query's Statistics Mode</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/using-the-tag-query-s-statistics-mode/qaa-p/3168376#M14524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm connecting to a PI server.  The server is running PIUDS_2_5_0_0 and UDSFramework_2_5_0_4  I don't have any more info on the PI version itself but I can find out.  I know it's running on a Windows 2000 Server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2007 16:48:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/using-the-tag-query-s-statistics-mode/qaa-p/3168376#M14524</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-07T16:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: Using the Tag Query's Statistics Mode</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/using-the-tag-query-s-statistics-mode/qaa-p/3168377#M14525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Martin K - if you are listening please feel free to correct or confirm the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The PI UDS uses native Statistical method calls to the PI API/SDK, so the results are coming directly from PI.  In this case, xMII is not doing a HistoryEvent call and then doing the average calcs on the raw event records, like it would be if you did it in BLS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jeremy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2007 17:28:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/using-the-tag-query-s-statistics-mode/qaa-p/3168377#M14525</guid>
      <dc:creator>jcgood25</dc:creator>
      <dc:date>2007-12-07T17:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: Using the Tag Query's Statistics Mode</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/using-the-tag-query-s-statistics-mode/qaa-p/3168378#M14526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Jeremy.  I was assuming the Statistics mode was pulling all tag values for the requested date range to the xMII server and doing the statistics processing there.  In any event, I really can't use it because it's giving me incorrect results.  I'll just go with the HistoryEvent call and do the averaging in BLS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2007 16:14:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/using-the-tag-query-s-statistics-mode/qaa-p/3168378#M14526</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-10T16:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: Using the Tag Query's Statistics Mode</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/using-the-tag-query-s-statistics-mode/qaa-p/3168379#M14527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;xMII will typically do stats processing from HistoryEvent data, only when native stats processing in not available in the underlying system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeremy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2007 04:15:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/using-the-tag-query-s-statistics-mode/qaa-p/3168379#M14527</guid>
      <dc:creator>jcgood25</dc:creator>
      <dc:date>2007-12-12T04:15:10Z</dc:date>
    </item>
  </channel>
</rss>

