<?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: Counting the output from stdev in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Counting-the-output-from-stdev/m-p/864109#M11975</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you can only use field names. Calculated dimensions and measure names won't work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 May 2015 18:54:15 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2015-05-14T18:54:15Z</dc:date>
    <item>
      <title>Counting the output from stdev</title>
      <link>https://community.qlik.com/t5/App-Development/Counting-the-output-from-stdev/m-p/864106#M11972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I have a data set that includes a host of temperature values (captured over time every minute or so). I am displaying a table that includes the name of the sensor, the temperature value, and then the stdev of these measures over time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I want to display a count of the number of instances where stdev=0 - in essence, the number of devices always reporting the exact same temperature all the time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would have expect the following to work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;count(stdev(thermal_temp_c)=0)&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, nested aggregation is not allowed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone have a thought on another way of doing this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Dec 2021 15:42:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Counting-the-output-from-stdev/m-p/864106#M11972</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-12-22T15:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: Counting the output from stdev</title>
      <link>https://community.qlik.com/t5/App-Development/Counting-the-output-from-stdev/m-p/864107#M11973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;You could try something like: count({&amp;lt;Instance={"=stdev(thermal_temp_c)=0"}&amp;gt;)Instance)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2015 17:59:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Counting-the-output-from-stdev/m-p/864107#M11973</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-05-14T17:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: Counting the output from stdev</title>
      <link>https://community.qlik.com/t5/App-Development/Counting-the-output-from-stdev/m-p/864108#M11974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, progress - had to play around with it a bit, and the below works to the extent that there are no more syntax errors:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count ({&amp;lt;thermal_temp_c_stdev_instance={"=stdev(thermal_temp_c)=0"}&amp;gt;}thermal_temp_c_stdev_instance)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only issue is that it throws a "bad field name thermal_temp_c_stdev_instance" error - which implies that thermal_temp_c_stdev_instance is not actually set. Is Sense expecting that thermal_temp_c_stdev_instance be declared explicitly as a field name prior?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2015 18:24:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Counting-the-output-from-stdev/m-p/864108#M11974</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-14T18:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: Counting the output from stdev</title>
      <link>https://community.qlik.com/t5/App-Development/Counting-the-output-from-stdev/m-p/864109#M11975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you can only use field names. Calculated dimensions and measure names won't work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2015 18:54:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Counting-the-output-from-stdev/m-p/864109#M11975</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-05-14T18:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: Counting the output from stdev</title>
      <link>https://community.qlik.com/t5/App-Development/Counting-the-output-from-stdev/m-p/864110#M11976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good catch, added the following to the data loader:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET thermal_temp_c_stdev_instance = '';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only issue is now I only see a result of "1". Odd.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2015 19:08:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Counting-the-output-from-stdev/m-p/864110#M11976</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-14T19:08:22Z</dc:date>
    </item>
  </channel>
</rss>

