<?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 If function not working in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/If-function-not-working/m-p/2074837#M88158</link>
    <description>&lt;P&gt;Hello Guys,&lt;/P&gt;
&lt;P&gt;I need one help&lt;/P&gt;
&lt;P&gt;I am converting Excel formula to Qlikview Expression but it is not working please help me out.&lt;/P&gt;
&lt;P&gt;Excel formula:&lt;/P&gt;
&lt;P&gt;=IFERROR(1/COUNTIF([File No.],[@[File No.]]),0)&lt;/P&gt;
&lt;P&gt;Qlikview Formula converted:&lt;/P&gt;
&lt;DIV class="x_elementToProof x_ContentPasted0 x_ContentPasted1"&gt;1)&amp;nbsp; IF(COUNT([File No.]) &amp;gt; 0, 1 / COUNT({&amp;lt; [File No.] = {"$(= [File No.])"} &amp;gt;}), 0) as booking1&lt;/DIV&gt;
&lt;DIV class="x_elementToProof x_ContentPasted0 x_ContentPasted1"&gt;&lt;BR class="x_ContentPasted0" aria-hidden="true" /&gt;2)&amp;nbsp; If(IsNull(Count({&amp;lt;[File No.] = {"$(= [File No.])"}&amp;gt;} [File No.]))Count([File No.] = {"$(= [File No.])"} [File No.])) as booking1&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This formula's are not working.&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 21:46:22 GMT</pubDate>
    <dc:creator>Nagaraj6</dc:creator>
    <dc:date>2024-11-15T21:46:22Z</dc:date>
    <item>
      <title>If function not working</title>
      <link>https://community.qlik.com/t5/App-Development/If-function-not-working/m-p/2074837#M88158</link>
      <description>&lt;P&gt;Hello Guys,&lt;/P&gt;
&lt;P&gt;I need one help&lt;/P&gt;
&lt;P&gt;I am converting Excel formula to Qlikview Expression but it is not working please help me out.&lt;/P&gt;
&lt;P&gt;Excel formula:&lt;/P&gt;
&lt;P&gt;=IFERROR(1/COUNTIF([File No.],[@[File No.]]),0)&lt;/P&gt;
&lt;P&gt;Qlikview Formula converted:&lt;/P&gt;
&lt;DIV class="x_elementToProof x_ContentPasted0 x_ContentPasted1"&gt;1)&amp;nbsp; IF(COUNT([File No.]) &amp;gt; 0, 1 / COUNT({&amp;lt; [File No.] = {"$(= [File No.])"} &amp;gt;}), 0) as booking1&lt;/DIV&gt;
&lt;DIV class="x_elementToProof x_ContentPasted0 x_ContentPasted1"&gt;&lt;BR class="x_ContentPasted0" aria-hidden="true" /&gt;2)&amp;nbsp; If(IsNull(Count({&amp;lt;[File No.] = {"$(= [File No.])"}&amp;gt;} [File No.]))Count([File No.] = {"$(= [File No.])"} [File No.])) as booking1&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This formula's are not working.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:46:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-function-not-working/m-p/2074837#M88158</guid>
      <dc:creator>Nagaraj6</dc:creator>
      <dc:date>2024-11-15T21:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: If function not working</title>
      <link>https://community.qlik.com/t5/App-Development/If-function-not-working/m-p/2074938#M88176</link>
      <description>&lt;P&gt;Try this s&lt;/P&gt;
&lt;P&gt;IF(COUNT([File No.]) &amp;gt; 0, 1 / COUNT({&amp;lt;[File No.] = {'$(= [File No.])'}&amp;gt;} [File No.]), 0) as booking1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 08:54:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-function-not-working/m-p/2074938#M88176</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2023-05-24T08:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: If function not working</title>
      <link>https://community.qlik.com/t5/App-Development/If-function-not-working/m-p/2075851#M88214</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/49432"&gt;@Chanty4u&lt;/a&gt;&amp;nbsp; Thank you for giving reply,&lt;/P&gt;
&lt;P&gt;above script is not&amp;nbsp; working.&lt;/P&gt;
&lt;P&gt;In this [File No] field data coming duplicates also so for my&amp;nbsp; requirement&amp;nbsp; I want to&amp;nbsp; satisfy 3 conditions&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1)if File.No&amp;nbsp; are&amp;nbsp; distinct&amp;nbsp; then count =1,&lt;/P&gt;
&lt;P&gt;2) if Duplicates File.N0 are present&amp;nbsp;1/count (Fiel No)&amp;nbsp; example 1/2=0.5,1/3=.0.3 ,1/4=.0.25....,&lt;/P&gt;
&lt;P&gt;3) if not present File.No&amp;nbsp; then&amp;nbsp; put 0,&lt;/P&gt;
&lt;P&gt;Below formula is not working.&lt;/P&gt;
&lt;P&gt;IF(LEN([File No.]) = 16,&lt;BR /&gt;IF(COUNT(DISTINCT [File No.]) = 1,&lt;BR /&gt;1 / COUNT({&amp;lt;[File No.] = {'$(= [File No.])'}&amp;gt;} DISTINCT [File No.]),&lt;BR /&gt;0&lt;BR /&gt;),&lt;BR /&gt;0)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;expected output:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nagaraj6_0-1684993638530.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/108235iEC29D9F40091FAFA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Nagaraj6_0-1684993638530.png" alt="Nagaraj6_0-1684993638530.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 05:48:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-function-not-working/m-p/2075851#M88214</guid>
      <dc:creator>Nagaraj6</dc:creator>
      <dc:date>2023-05-25T05:48:20Z</dc:date>
    </item>
  </channel>
</rss>

