<?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: How to limit what data is shown based on measure outcome in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-limit-what-data-is-shown-based-on-measure-outcome/m-p/4022181#M158701</link>
    <description>&lt;P&gt;Thank you - where would this go please? Also it isn't the percentage that is 0.05 it is the fitered results count -&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;Filtered Result&lt;/STRONG&gt;&amp;nbsp;=&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Table'&lt;/SPAN&gt;&lt;SPAN&gt;[ID]&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Table'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;'Table'&lt;/SPAN&gt;&lt;SPAN&gt;[Column]&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;=&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"Yes"&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 03 Jul 2024 07:35:54 GMT</pubDate>
    <dc:creator>Amy-Marriott</dc:creator>
    <dc:date>2024-07-03T07:35:54Z</dc:date>
    <item>
      <title>How to limit what data is shown based on measure outcome</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-limit-what-data-is-shown-based-on-measure-outcome/m-p/4020677#M158625</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I have created the below measures:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ID&lt;/STRONG&gt; = DISTINCTCOUNT(ID)&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;STRONG&gt;Filtered Result&lt;/STRONG&gt; =&lt;/SPAN&gt; &lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Table'&lt;/SPAN&gt;&lt;SPAN&gt;[ID]&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Table'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;'Table'&lt;/SPAN&gt;&lt;SPAN&gt;[Column]&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"Yes"&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I have then found the % by doing the below measure:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;STRONG&gt;Percentage&lt;/STRONG&gt; = [Filtered Result] / [ID] then converted to %.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;What I need to do is make sure that the outcome of the &lt;STRONG&gt;Percentage&lt;/STRONG&gt; is only calculating the &lt;STRONG&gt;Filtered Results&lt;/STRONG&gt; when they are larger than 5 for example I have &lt;FONT color="#FF0000"&gt;100&lt;/FONT&gt; &lt;STRONG&gt;ID&lt;/STRONG&gt;, &lt;FONT color="#FF0000"&gt;3&lt;/FONT&gt; &lt;STRONG&gt;Filtered Result&lt;/STRONG&gt;&amp;nbsp;therefore I need the Percentage to show 0 or not calculate and only calculate when the filtered result is over 5.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Please could someone assist in making this happen?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 02 Jul 2024 14:10:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-limit-what-data-is-shown-based-on-measure-outcome/m-p/4020677#M158625</guid>
      <dc:creator>Amy-Marriott</dc:creator>
      <dc:date>2024-07-02T14:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit what data is shown based on measure outcome</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-limit-what-data-is-shown-based-on-measure-outcome/m-p/4021498#M158675</link>
      <description>&lt;P&gt;RETURN IF(Percentage&amp;gt;0.05,Percentage)&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2024 01:42:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-limit-what-data-is-shown-based-on-measure-outcome/m-p/4021498#M158675</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-07-03T01:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit what data is shown based on measure outcome</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-limit-what-data-is-shown-based-on-measure-outcome/m-p/4022181#M158701</link>
      <description>&lt;P&gt;Thank you - where would this go please? Also it isn't the percentage that is 0.05 it is the fitered results count -&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;Filtered Result&lt;/STRONG&gt;&amp;nbsp;=&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Table'&lt;/SPAN&gt;&lt;SPAN&gt;[ID]&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Table'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;'Table'&lt;/SPAN&gt;&lt;SPAN&gt;[Column]&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;=&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"Yes"&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2024 07:35:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-limit-what-data-is-shown-based-on-measure-outcome/m-p/4022181#M158701</guid>
      <dc:creator>Amy-Marriott</dc:creator>
      <dc:date>2024-07-03T07:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit what data is shown based on measure outcome</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-limit-what-data-is-shown-based-on-measure-outcome/m-p/4023267#M158774</link>
      <description>&lt;P&gt;For example&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Percentage = 
Filtered  = CALCULATE(DISTINCTCOUNT('Table'[ID]), 'Table'[Column] = "Yes")
Perc = Divide(Filtered,DISTINCTCOUNT('Table'[ID]))
RETURN IF(Perc&amp;gt;0.05,Perc)&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 03 Jul 2024 15:43:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-limit-what-data-is-shown-based-on-measure-outcome/m-p/4023267#M158774</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-07-03T15:43:42Z</dc:date>
    </item>
  </channel>
</rss>

