<?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: Average Conversion Rate while ignoring 0 value in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-Conversion-Rate-while-ignoring-0-value/m-p/2889366#M93744</link>
    <description>&lt;P&gt;Thank You!&lt;/P&gt;</description>
    <pubDate>Mon, 07 Nov 2022 13:27:14 GMT</pubDate>
    <dc:creator>Green_Cloud</dc:creator>
    <dc:date>2022-11-07T13:27:14Z</dc:date>
    <item>
      <title>Average Conversion Rate while ignoring 0 value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-Conversion-Rate-while-ignoring-0-value/m-p/2887374#M93635</link>
      <description>&lt;P&gt;Hi, I am trying to find the average planned to working hour conversation rate. But, When there is 0.00% converstion rate in any of the two months, I just need to show the conversion rate which is only available. For Example, for 'John' in the image below, the conversion rate should be 75.00% ignoring 0.00% from the month February.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Below is the PBI file-&lt;BR /&gt;&lt;A href="https://drive.google.com/file/d/1MPwUn89yxiUYwSWpJKispl7LesBJQd9Y/view?usp=share_link" target="_blank" rel="noopener"&gt;https://drive.google.com/file/d/1MPwUn89yxiUYwSWpJKispl7LesBJQd9Y/view?usp=share_link&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the Dataset-&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 06 Nov 2022 05:46:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-Conversion-Rate-while-ignoring-0-value/m-p/2887374#M93635</guid>
      <dc:creator>Green_Cloud</dc:creator>
      <dc:date>2022-11-06T05:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: Average Conversion Rate while ignoring 0 value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-Conversion-Rate-while-ignoring-0-value/m-p/2887408#M93639</link>
      <description>&lt;P&gt;Turn 0's into blanks and DAX will take care of this automatically.&lt;/P&gt;</description>
      <pubDate>Sun, 06 Nov 2022 10:19:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-Conversion-Rate-while-ignoring-0-value/m-p/2887408#M93639</guid>
      <dc:creator>daXtreme</dc:creator>
      <dc:date>2022-11-06T10:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: Average Conversion Rate while ignoring 0 value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-Conversion-Rate-while-ignoring-0-value/m-p/2887953#M93673</link>
      <description>&lt;P&gt;Tried but not working.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2022 01:24:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-Conversion-Rate-while-ignoring-0-value/m-p/2887953#M93673</guid>
      <dc:creator>Green_Cloud</dc:creator>
      <dc:date>2022-11-07T01:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: Average Conversion Rate while ignoring 0 value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-Conversion-Rate-while-ignoring-0-value/m-p/2888790#M93715</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="384900" data-lia-user-login="Green_Cloud" class="lia-mention lia-mention-user"&gt;Green_Cloud&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to your description, here are my steps you can follow as a solution.&lt;/P&gt;
&lt;P&gt;(1) My test data is the same as yours.&lt;/P&gt;
&lt;P&gt;(2) We can create &amp;nbsp;a measure.&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure =

var _a = AVERAGEX(FILTER('Sample',[Working Hour]&amp;lt;&amp;gt;0&amp;amp;&amp;amp;[Month] in {"February","March"}),DIVIDE([Working Hour],[Planned Hour]))

return IF(ISBLANK(_a),0,_a)&lt;/LI-CODE&gt;
&lt;P&gt;(3) Then the result is as follows.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Neeko Tang&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2022 09:22:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-Conversion-Rate-while-ignoring-0-value/m-p/2888790#M93715</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-07T09:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: Average Conversion Rate while ignoring 0 value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-Conversion-Rate-while-ignoring-0-value/m-p/2889366#M93744</link>
      <description>&lt;P&gt;Thank You!&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2022 13:27:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-Conversion-Rate-while-ignoring-0-value/m-p/2889366#M93744</guid>
      <dc:creator>Green_Cloud</dc:creator>
      <dc:date>2022-11-07T13:27:14Z</dc:date>
    </item>
  </channel>
</rss>

