<?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: Mathematical Calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Mathematical-Calculation/m-p/1888732#M1217183</link>
    <description>&lt;P&gt;I completed this using the below expression in the text box.&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;=Count(distinct{&amp;lt;Fail = {1}&amp;gt;}Label) &amp;amp; ' / ' &amp;amp;Count(distinct Label)&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Feb 2022 14:43:25 GMT</pubDate>
    <dc:creator>nigharikkha</dc:creator>
    <dc:date>2022-02-03T14:43:25Z</dc:date>
    <item>
      <title>Mathematical Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Mathematical-Calculation/m-p/1888708#M1217179</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a table with fields as shown below (sample data).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nigharikkha_0-1643897179299.png" style="width: 295px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/71541i8B9C13CB37899A9B/image-dimensions/295x176?v=v2" width="295" height="176" role="button" title="nigharikkha_0-1643897179299.png" alt="nigharikkha_0-1643897179299.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I need to calculate the failure rate and display in the text box.&lt;/P&gt;
&lt;P&gt;Failure Rate = (Number of distinct Label with Fail=1) / Number of distinct Label&lt;/P&gt;
&lt;P&gt;In this example,&amp;nbsp;Number of distinct Label with Fail=1 is 1 and&amp;nbsp;Number of distinct Label is 2.&lt;/P&gt;
&lt;P&gt;Please help with the expression for this.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 14:09:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mathematical-Calculation/m-p/1888708#M1217179</guid>
      <dc:creator>nigharikkha</dc:creator>
      <dc:date>2022-02-03T14:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: Mathematical Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Mathematical-Calculation/m-p/1888732#M1217183</link>
      <description>&lt;P&gt;I completed this using the below expression in the text box.&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;=Count(distinct{&amp;lt;Fail = {1}&amp;gt;}Label) &amp;amp; ' / ' &amp;amp;Count(distinct Label)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 14:43:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mathematical-Calculation/m-p/1888732#M1217183</guid>
      <dc:creator>nigharikkha</dc:creator>
      <dc:date>2022-02-03T14:43:25Z</dc:date>
    </item>
  </channel>
</rss>

