<?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: only Function() in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/only-Function/m-p/1926024#M76230</link>
    <description>&lt;P&gt;please post some sample data&lt;/P&gt;</description>
    <pubDate>Wed, 04 May 2022 07:35:49 GMT</pubDate>
    <dc:creator>vinieme12</dc:creator>
    <dc:date>2022-05-04T07:35:49Z</dc:date>
    <item>
      <title>only Function()</title>
      <link>https://community.qlik.com/t5/App-Development/only-Function/m-p/1925776#M76203</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-right" image-alt="Syntax" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/78543i32C3E13C8401A4E5/image-size/large?v=v2&amp;amp;px=999" role="button" title="syntax.PNG" alt="Syntax" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Syntax&lt;/span&gt;&lt;/span&gt;Hi Every body,&lt;/P&gt;
&lt;P&gt;I have a Column named "ok"&amp;nbsp; it could be 0 and 1 and it shows me my Status I have some other parameters as my filter they could be 0 and 1 such as&lt;/P&gt;
&lt;P&gt;[RZV:QlikSense Abbruch] ,[RZV:Qlikview Abbruch] ,[RZV:Sonstiges Abbruch]&lt;/P&gt;
&lt;P&gt;or&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[DWH:QlikSense Abbruch] ,[DWH:Qlikview Abbruch] ,[DWH:Sonstiges Abbruch]&lt;/P&gt;
&lt;P&gt;and so on&lt;/P&gt;
&lt;P&gt;and I want to calculate how much of my "ok"=0 caused by DWH&lt;/P&gt;
&lt;P&gt;So I had try this measure but I could not understand what is my fault:&lt;/P&gt;
&lt;P&gt;actually it does not give me any error but the answer is not correct.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(count({$&amp;lt;[RZV:QlikSense Abbruch]={"$(=Only({$&amp;lt;[RZV:QlikSense Abbruch]={'1'}&amp;gt;} ok))"},ok={'0'}&amp;gt;} ok)&lt;BR /&gt;+&lt;BR /&gt;count({$&amp;lt;[RZV:Qlikview Abbruch]={"$(=Only({$&amp;lt;[RZV:Qlikview Abbruch]={'1'}&amp;gt;} ok))"},ok={'0'}&amp;gt;} ok)&lt;/P&gt;
&lt;P&gt;+&lt;BR /&gt;count({$&amp;lt;[RZV:Sonstiges Abbruch]={"$(=Only({$&amp;lt;[RZV:Sonstiges Abbruch]={'1'}&amp;gt;} ok))"},ok={'0'}&amp;gt;} ok)&lt;/P&gt;
&lt;P&gt;+&lt;BR /&gt;count({$&amp;lt;[RZV:UC4 Abbruch]={"$(=Only({$&amp;lt;[RZV:UC4 Abbruch]={'1'}&amp;gt;} ok))"},ok={'0'}&amp;gt;} ok)&lt;/P&gt;
&lt;P&gt;+&lt;/P&gt;
&lt;P&gt;count({$&amp;lt;[RZV:Spiegel-Abbruch Fehler]={"$(=Only({$&amp;lt;[RZV:Spiegel-Abbruch Fehler]={'1'}&amp;gt;} ok))"},ok={'0'}&amp;gt;} ok)&lt;BR /&gt;)&lt;BR /&gt;/&lt;/P&gt;
&lt;P&gt;count(total {&amp;lt;ok={'0'}&amp;gt;} ok)&lt;/P&gt;
&lt;P&gt;I think the problem is&amp;nbsp; this part {"$(=Only({$&amp;lt;[xxx]={'1'}&amp;gt;} ok))"} in every count,&lt;/P&gt;
&lt;P&gt;because in the button of the page it shows me like this:&lt;/P&gt;
&lt;P&gt;count({$&amp;lt;[XX]={"0"} other wise I had write in my formula 1 but I could not understand why show me 0.&lt;/P&gt;
&lt;P&gt;I had attached the syntax message.&lt;/P&gt;
&lt;P&gt;please Help me &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 16:12:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/only-Function/m-p/1925776#M76203</guid>
      <dc:creator>Samanehsorournejad</dc:creator>
      <dc:date>2022-05-03T16:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: only Function()</title>
      <link>https://community.qlik.com/t5/App-Development/only-Function/m-p/1925788#M76206</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="syntax2.jpg" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/78544i7B40EBBED4B5E61A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="syntax2.jpg" alt="syntax2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 16:16:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/only-Function/m-p/1925788#M76206</guid>
      <dc:creator>Samanehsorournejad</dc:creator>
      <dc:date>2022-05-03T16:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: only Function()</title>
      <link>https://community.qlik.com/t5/App-Development/only-Function/m-p/1925797#M76207</link>
      <description>&lt;P&gt;You don't need only() at all , only() returns a single values&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;count({$&amp;lt;[RZV:QlikSense Abbruch]={'1'},ok={'0'}&amp;gt;} ok)&lt;/P&gt;
&lt;P&gt;+&lt;/P&gt;
&lt;P&gt;count({$&amp;lt;[RZV:Qlikview Abbruch]={'1'},ok={'0'}&amp;gt;} ok)&lt;/P&gt;
&lt;P&gt;+&lt;/P&gt;
&lt;P&gt;count({$&amp;lt;[RZV:Sonstiges Abbruch]={'1'},ok={'0'}&amp;gt;} ok)&lt;/P&gt;
&lt;P&gt;+&lt;/P&gt;
&lt;P&gt;count({$&amp;lt;[RZV:UC4 Abbruch]={'1'},ok={'0'}&amp;gt;} ok)&lt;/P&gt;
&lt;P&gt;+&lt;/P&gt;
&lt;P&gt;count({$&amp;lt;[RZV:Spiegel-Abbruch Fehler]={'1'},ok={'0'}&amp;gt;} ok)&lt;/P&gt;
&lt;P&gt;)&lt;/P&gt;
&lt;P&gt;/&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;count(total {&amp;lt;ok={'0'}&amp;gt;} ok)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 16:55:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/only-Function/m-p/1925797#M76207</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2022-05-03T16:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: only Function()</title>
      <link>https://community.qlik.com/t5/App-Development/only-Function/m-p/1925824#M76212</link>
      <description>&lt;P&gt;Hi Dear Vineeth ,&lt;/P&gt;
&lt;P&gt;thanks for your answer let me better explain. I have two department DWH and RZV, I have ok column that show me my Status. &amp;nbsp;I have two measures, one of them give me how much percentage of the ok=0 cause by DWH and another shows me how much cause by RZV .&lt;/P&gt;
&lt;P&gt;I had tried these two measures like this that you told me but the Problem is that the sum of this two measures exceed more than 100% and this is my Problem &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Measure 1:&lt;/P&gt;
&lt;P&gt;(Count({$&amp;lt;[RZV:QlikSense Abbruch]={'1'},ok={'0'}&amp;gt;}ok)&lt;BR /&gt;+&lt;BR /&gt;Count({$&amp;lt;[RZV:Qlikview Abbruch]={'1'},ok={'0'}&amp;gt;}ok)&lt;BR /&gt;+&lt;BR /&gt;Count({$&amp;lt;[RZV:Sonstiges Abbruch]={'1'},ok={'0'}&amp;gt;}ok)&lt;BR /&gt;+&lt;BR /&gt;Count({$&amp;lt;[RZV:UC4 Abbruch]={'1'},ok={'0'}&amp;gt;}ok)&lt;BR /&gt;+&lt;BR /&gt;Count({$&amp;lt;[RZV:Spiegel-Abbruch Fehler]={'1'},ok={'0'}&amp;gt;}ok))&lt;BR /&gt;/&lt;BR /&gt;count( total {&amp;lt;ok={'0'}&amp;gt;}ok)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Measure 2:&lt;/P&gt;
&lt;P&gt;(Count({$&amp;lt;[DWH:Pentaho Abbruch]={'1'},ok={'0'}&amp;gt;}ok)&lt;BR /&gt;+&lt;BR /&gt;Count({$&amp;lt;[DWH: Laufzeit-problem]={'1'},ok={'0'}&amp;gt;}ok)&lt;BR /&gt;+&lt;BR /&gt;Count({$&amp;lt;[DWH: QlikSense Inhaltlich]={'1'},ok={'0'}&amp;gt;}ok)&lt;BR /&gt;+&lt;BR /&gt;Count({$&amp;lt;[DWH:QlikSense techn. Integration]={'1'},ok={'0'}&amp;gt;}ok)&lt;BR /&gt;+&lt;BR /&gt;Count({$&amp;lt; [DWH:Qlikview Abbruch]={'1'},ok={'0'}&amp;gt;}ok)&lt;BR /&gt;+&lt;BR /&gt;Count({$&amp;lt; [DWH:Sonstiges Abbruch]={'1'},ok={'0'}&amp;gt;}ok)&lt;BR /&gt;+&lt;BR /&gt;Count({$&amp;lt;[DB:Sonstiges ]={'1'},ok={'0'}&amp;gt;}ok)&lt;BR /&gt;)&lt;BR /&gt;/&lt;BR /&gt;Count(total {$&amp;lt; ok={'0'}&amp;gt;}ok)&lt;/P&gt;
&lt;P&gt;*just for info: there are cases that could both features equal 1. for example [DWH:Qlikview Abbruch]={'1'} and [RZV:Qlikview Abbruch]={'1'}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please help me &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 17:35:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/only-Function/m-p/1925824#M76212</guid>
      <dc:creator>Samanehsorournejad</dc:creator>
      <dc:date>2022-05-03T17:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: only Function()</title>
      <link>https://community.qlik.com/t5/App-Development/only-Function/m-p/1925938#M76223</link>
      <description>&lt;P&gt;you shouldn't be counting &lt;STRONG&gt;Ok&lt;/STRONG&gt; field then, instead use a field that identifies each row uniquely&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;count({&lt;/P&gt;
&lt;P&gt;&amp;lt;[RZV:QlikSense Abbruch]={'1'},ok={'0'}&amp;gt;+&amp;lt;[RZV:Qlikview Abbruch]={'1'},ok={'0'}&amp;gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;+$&amp;lt;[RZV:Sonstiges Abbruch]={'1'},ok={'0'}&amp;gt;+&lt;/SPAN&gt;&amp;lt;[RZV:UC4 Abbruch]={'1'},ok={'0'}&amp;gt;&lt;/P&gt;
&lt;P&gt;+&amp;lt;[RZV:Spiegel-Abbruch Fehler]={'1'},ok={'0'}&amp;gt;}&amp;nbsp; distinct Keyfield)&lt;/P&gt;
&lt;P&gt;/&lt;/P&gt;
&lt;P&gt;count(distinct total {&amp;lt;ok={'0'}&amp;gt;} keyfield)&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 01:55:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/only-Function/m-p/1925938#M76223</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2022-05-04T01:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: only Function()</title>
      <link>https://community.qlik.com/t5/App-Development/only-Function/m-p/1926022#M76229</link>
      <description>&lt;P&gt;Hi Vineeth,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;we read from excel and write into&amp;nbsp; DB. I had create the&amp;nbsp; Auto increment key in the Target as Keyfield and thn write my Measure exactly like you:&lt;/P&gt;
&lt;P&gt;Measure 1:&lt;/P&gt;
&lt;P&gt;(count({&lt;/P&gt;
&lt;P&gt;$&amp;lt;[RZV:QlikSense Abbruch]={'1'},ok={'0'}&amp;gt;+$&amp;lt;[RZV:Qlikview Abbruch]={'1'},ok={'0'}&amp;gt;&lt;/P&gt;
&lt;P&gt;+$&amp;lt;[RZV:Sonstiges Abbruch]={'1'},ok={'0'}&amp;gt;+$&amp;lt;[RZV:UC4 Abbruch]={'1'},ok={'0'}&amp;gt;&lt;/P&gt;
&lt;P&gt;+$&amp;lt;[RZV:Spiegel-Abbruch Fehler]={'1'},ok={'0'}&amp;gt;} distinct id))&lt;/P&gt;
&lt;P&gt;/&lt;/P&gt;
&lt;P&gt;(count(distinct total {&amp;lt;ok={'0'}&amp;gt;} id))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Measure 2:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(count({&lt;/P&gt;
&lt;P&gt;$&amp;lt;[DWH: Laufzeit-problem]={'1'},ok={'0'}&amp;gt;+&amp;lt; [DWH: QlikSense Inhaltlich]={'1'},ok={'0'}&amp;gt;&lt;/P&gt;
&lt;P&gt;+$&amp;lt; [DWH:Pentaho Abbruch]={'1'},ok={'0'}&amp;gt;+&amp;lt; [DWH:QlikSense techn. Integration]={'1'},ok={'0'}&amp;gt;&lt;/P&gt;
&lt;P&gt;+$&amp;lt; [DWH:Qlikview Abbruch]={'1'},ok={'0'}&amp;gt;&lt;BR /&gt;+$&amp;lt;[DWH:Sonstiges Abbruch]={'1'},ok={'0'}&amp;gt;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;distinct id))&lt;/P&gt;
&lt;P&gt;/&lt;/P&gt;
&lt;P&gt;(count(distinct total {&amp;lt;ok={'0'}&amp;gt;} id))&lt;/P&gt;
&lt;P&gt;but again the same Problem the sum is more than 100%&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;what should I do now?Pls Help &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 07:33:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/only-Function/m-p/1926022#M76229</guid>
      <dc:creator>Samanehsorournejad</dc:creator>
      <dc:date>2022-05-04T07:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: only Function()</title>
      <link>https://community.qlik.com/t5/App-Development/only-Function/m-p/1926024#M76230</link>
      <description>&lt;P&gt;please post some sample data&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 07:35:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/only-Function/m-p/1926024#M76230</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2022-05-04T07:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: only Function()</title>
      <link>https://community.qlik.com/t5/App-Development/only-Function/m-p/1926282#M76271</link>
      <description>&lt;P&gt;Hi Vinteeth,&lt;/P&gt;
&lt;P&gt;thanks for your Answer, I had understand what was the Problem:&lt;/P&gt;
&lt;P&gt;Since I had some Record that both departments cause ok=0 then it is normal that the sum will be more than 100%&lt;/P&gt;
&lt;P&gt;because I have the Data that participate in both Department &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 12:48:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/only-Function/m-p/1926282#M76271</guid>
      <dc:creator>Samanehsorournejad</dc:creator>
      <dc:date>2022-05-04T12:48:54Z</dc:date>
    </item>
  </channel>
</rss>

