<?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: Dax to Determine Filtered Percentages in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-to-Determine-Filtered-Percentages/m-p/2002450#M44460</link>
    <description>&lt;P&gt;Thank you...after thinking about it last night, I thought SWITCH might be an option.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 06 Aug 2021 13:09:10 GMT</pubDate>
    <dc:creator>Thackeb</dc:creator>
    <dc:date>2021-08-06T13:09:10Z</dc:date>
    <item>
      <title>Dax to Determine Filtered Percentages</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-to-Determine-Filtered-Percentages/m-p/2000966#M44427</link>
      <description>&lt;P&gt;Please note that I can only build DAX, I do not have access to Power Query or Caluclated Columns.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a field for Account Managers and a field for Attainment % Trend. Example..........&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ronald Reagan 85.9%&lt;/P&gt;&lt;P&gt;Jimmy Carter 101.8%&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 3 brackets..............&lt;/P&gt;&lt;P&gt;-Less than 87.5%&lt;/P&gt;&lt;P&gt;-87.5 to Less than 100%&lt;/P&gt;&lt;P&gt;-100% or Greater&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First I would like to count, how many fall into each bracket.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Second I would then break this down by what % of all fall into each bracket. (which I think can be easily done once I have the breakdown.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried distinctcount, filter.....everything I could imagine. I'm not a new user, but can't figure out how to make this work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated unless you tell me to build a new table or add a calculated columns. LOL!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 20:04:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-to-Determine-Filtered-Percentages/m-p/2000966#M44427</guid>
      <dc:creator>Thackeb</dc:creator>
      <dc:date>2021-08-05T20:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: Dax to Determine Filtered Percentages</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-to-Determine-Filtered-Percentages/m-p/2001501#M44438</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="113404" data-lia-user-login="Thackeb" class="lia-mention lia-mention-user"&gt;Thackeb&lt;/a&gt; , Based on what I got you need bucketing or binning. You need an Independent table of % range and you also need new measures grouped based on names&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Refer if these can help&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dynamic Segmentation Bucketing Binning&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Quick-Measures-Gallery/Dynamic-Segmentation-Bucketing-Binning/m-p/1387187#M626" target="_blank"&gt;https://community.powerbi.com/t5/Quick-Measures-Gallery/Dynamic-Segmentation-Bucketing-Binning/m-p/1387187#M626&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Dynamic Segmentation, Bucketing or Binning: &lt;A href="https://youtu.be/CuczXPj0N-k" target="_blank"&gt;https://youtu.be/CuczXPj0N-k&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 05:58:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-to-Determine-Filtered-Percentages/m-p/2001501#M44438</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-08-06T05:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: Dax to Determine Filtered Percentages</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-to-Determine-Filtered-Percentages/m-p/2002450#M44460</link>
      <description>&lt;P&gt;Thank you...after thinking about it last night, I thought SWITCH might be an option.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 13:09:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-to-Determine-Filtered-Percentages/m-p/2002450#M44460</guid>
      <dc:creator>Thackeb</dc:creator>
      <dc:date>2021-08-06T13:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Dax to Determine Filtered Percentages</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-to-Determine-Filtered-Percentages/m-p/2002800#M44475</link>
      <description>&lt;P&gt;Additioanl question so sorry......&lt;/P&gt;&lt;P&gt;I added the switch Dax. If it's in a table with a the account manager name,&amp;nbsp; it notes if they are Good, Neutral or Needs Improvement. If I don't have the name, it shows Neutral.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Attainment Metric = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SWITCH(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;TRUE(),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;[*Attain % Trend] &amp;lt; .875, "Needs Improvement",&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;[*Attain % Trend] &amp;gt;=.875 &amp;amp;&amp;amp; [*Attain % Trend] &amp;lt; 1, "Neutral",&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;[*Attain % Trend] &amp;gt;= 1, "Good")&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there&amp;nbsp; a way to write this so it counts how many are Good, Netural, Needs Improvement?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently Data looks like this..........&lt;/P&gt;&lt;P&gt;Account Mgr Name&amp;nbsp; &amp;nbsp; Attainment Metric&amp;nbsp; &amp;nbsp;Attainment&lt;/P&gt;&lt;P&gt;John Wayne&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Good&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;101%&lt;/P&gt;&lt;P&gt;Ronald Reagan&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Neutral&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 88.9%&lt;/P&gt;&lt;P&gt;Nancy Reagan&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Neutral&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 99.4%&lt;/P&gt;&lt;P&gt;Jimmy Carter&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Good&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 102.8%&lt;/P&gt;&lt;P&gt;George Washington&amp;nbsp; &amp;nbsp;Needs Improvement&amp;nbsp; &amp;nbsp;79.5%&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Again...DAX is my only option as I cannot edit tables or calculated columns.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 16:52:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-to-Determine-Filtered-Percentages/m-p/2002800#M44475</guid>
      <dc:creator>Thackeb</dc:creator>
      <dc:date>2021-08-06T16:52:55Z</dc:date>
    </item>
  </channel>
</rss>

