<?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: excluding zero values of other field from count distinct in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/excluding-zero-values-of-other-field-from-count-distinct/m-p/1657875#M4785</link>
    <description>&lt;P&gt;Use this:&lt;/P&gt;&lt;P&gt;if(sum(traffic)&amp;gt;0,Count(distinct transactions)/Sum(traffic))&lt;/P&gt;</description>
    <pubDate>Mon, 16 Dec 2019 06:59:06 GMT</pubDate>
    <dc:creator>anushree1</dc:creator>
    <dc:date>2019-12-16T06:59:06Z</dc:date>
    <item>
      <title>excluding zero values of other field from count distinct</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/excluding-zero-values-of-other-field-from-count-distinct/m-p/1657854#M4777</link>
      <description>&lt;P&gt;good day,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my fields are:&lt;/P&gt;&lt;P&gt;Traffic In&lt;/P&gt;&lt;P&gt;Tseq No&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to compute for the conversion&lt;/P&gt;&lt;P&gt;Count(distinct [Tseq No])/Sum([Traffic In])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how can I disregard Tseq No that has corresponding Traffic In value equivalent to zero in the computation?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image1.jpg" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/25554i4E183DEB15529B64/image-size/large?v=v2&amp;amp;px=999" role="button" title="image1.jpg" alt="image1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Dec 2021 20:29:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/excluding-zero-values-of-other-field-from-count-distinct/m-p/1657854#M4777</guid>
      <dc:creator>chan103148</dc:creator>
      <dc:date>2021-12-10T20:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: excluding zero values of other field from count distinct</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/excluding-zero-values-of-other-field-from-count-distinct/m-p/1657862#M4778</link>
      <description>&lt;P&gt;Go to Add ons -&amp;gt; Data Handling-&amp;gt;Uncheck Include Zero Values&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Mon, 16 Dec 2019 06:12:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/excluding-zero-values-of-other-field-from-count-distinct/m-p/1657862#M4778</guid>
      <dc:creator>anushree1</dc:creator>
      <dc:date>2019-12-16T06:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: excluding zero values of other field from count distinct</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/excluding-zero-values-of-other-field-from-count-distinct/m-p/1657863#M4779</link>
      <description>&lt;P&gt;its not working&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i need to remove "Transaction count" with corresponding zero "Traffic In" in the formula.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 06:20:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/excluding-zero-values-of-other-field-from-count-distinct/m-p/1657863#M4779</guid>
      <dc:creator>chan103148</dc:creator>
      <dc:date>2019-12-16T06:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: excluding zero values of other field from count distinct</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/excluding-zero-values-of-other-field-from-count-distinct/m-p/1657865#M4780</link>
      <description>&lt;P&gt;can you share the sample file please.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 06:23:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/excluding-zero-values-of-other-field-from-count-distinct/m-p/1657865#M4780</guid>
      <dc:creator>anushree1</dc:creator>
      <dc:date>2019-12-16T06:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: excluding zero values of other field from count distinct</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/excluding-zero-values-of-other-field-from-count-distinct/m-p/1657867#M4781</link>
      <description>&lt;P&gt;here&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 06:30:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/excluding-zero-values-of-other-field-from-count-distinct/m-p/1657867#M4781</guid>
      <dc:creator>chan103148</dc:creator>
      <dc:date>2019-12-16T06:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: excluding zero values of other field from count distinct</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/excluding-zero-values-of-other-field-from-count-distinct/m-p/1657872#M4782</link>
      <description>&lt;P&gt;Add an if condition on all the expressions like:&lt;/P&gt;&lt;P&gt;=if(sum(traffic)&amp;gt;0,Sum(transactions))&lt;/P&gt;&lt;P&gt;if(sum(traffic)&amp;gt;0,Sum([Ave price]))&lt;/P&gt;&lt;P&gt;and so on.. This should fix the issue&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 06:39:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/excluding-zero-values-of-other-field-from-count-distinct/m-p/1657872#M4782</guid>
      <dc:creator>anushree1</dc:creator>
      <dc:date>2019-12-16T06:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: excluding zero values of other field from count distinct</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/excluding-zero-values-of-other-field-from-count-distinct/m-p/1657873#M4783</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Count(distinct [Tseq No])/Sum([Traffic In])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;*Tseq No&amp;nbsp; is transactions&lt;/P&gt;&lt;P&gt;*Traffic In is traffic&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how can i remove transaction count with corresponding zero traffic in the formula above.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 06:51:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/excluding-zero-values-of-other-field-from-count-distinct/m-p/1657873#M4783</guid>
      <dc:creator>chan103148</dc:creator>
      <dc:date>2019-12-16T06:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: excluding zero values of other field from count distinct</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/excluding-zero-values-of-other-field-from-count-distinct/m-p/1657874#M4784</link>
      <description>&lt;P&gt;there are dates that has transactions but no traffic count.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 06:54:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/excluding-zero-values-of-other-field-from-count-distinct/m-p/1657874#M4784</guid>
      <dc:creator>chan103148</dc:creator>
      <dc:date>2019-12-16T06:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: excluding zero values of other field from count distinct</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/excluding-zero-values-of-other-field-from-count-distinct/m-p/1657875#M4785</link>
      <description>&lt;P&gt;Use this:&lt;/P&gt;&lt;P&gt;if(sum(traffic)&amp;gt;0,Count(distinct transactions)/Sum(traffic))&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 06:59:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/excluding-zero-values-of-other-field-from-count-distinct/m-p/1657875#M4785</guid>
      <dc:creator>anushree1</dc:creator>
      <dc:date>2019-12-16T06:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: excluding zero values of other field from count distinct</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/excluding-zero-values-of-other-field-from-count-distinct/m-p/1657876#M4786</link>
      <description>&lt;P&gt;not working &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 07:00:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/excluding-zero-values-of-other-field-from-count-distinct/m-p/1657876#M4786</guid>
      <dc:creator>chan103148</dc:creator>
      <dc:date>2019-12-16T07:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: excluding zero values of other field from count distinct</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/excluding-zero-values-of-other-field-from-count-distinct/m-p/1657877#M4787</link>
      <description>&lt;P&gt;works for me.&lt;/P&gt;&lt;P&gt;Please check the attached ,I have put jus 2 expressions , you can add similar expressions , also check the Data Handing Section it should be unchecked for Include Zero Vaues if you do not add an if condition for Sum(Traffic)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 07:04:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/excluding-zero-values-of-other-field-from-count-distinct/m-p/1657877#M4787</guid>
      <dc:creator>anushree1</dc:creator>
      <dc:date>2019-12-16T07:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: excluding zero values of other field from count distinct</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/excluding-zero-values-of-other-field-from-count-distinct/m-p/1657886#M4788</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try this expression for the date dimension&lt;/P&gt;&lt;P&gt;IF(traffic&amp;gt;0,Date)&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 07:24:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/excluding-zero-values-of-other-field-from-count-distinct/m-p/1657886#M4788</guid>
      <dc:creator>Kashyap_R</dc:creator>
      <dc:date>2019-12-16T07:24:29Z</dc:date>
    </item>
  </channel>
</rss>

