<?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: Count the number of results from a measure in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-the-number-of-results-from-a-measure/m-p/3509809#M134669</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="639667" data-lia-user-login="Mschronpowerbi" class="lia-mention lia-mention-user"&gt;Mschronpowerbi&lt;/a&gt;&amp;nbsp;as your measure is working then one of possible solution could be create table with counting or put your measure in some columns and count rows of that table&lt;/P&gt;</description>
    <pubDate>Wed, 01 Nov 2023 14:22:06 GMT</pubDate>
    <dc:creator>some_bih</dc:creator>
    <dc:date>2023-11-01T14:22:06Z</dc:date>
    <item>
      <title>Count the number of results from a measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-the-number-of-results-from-a-measure/m-p/3508182#M134594</link>
      <description>&lt;P&gt;I am stuck and cannot seem to think of a way to accomplish my goal.&lt;BR /&gt;I am making a preformace tracker that provides EOY ratings for our employess.&amp;nbsp; I have created a measure that converts their weighted scores and returns it as a letter rating.&lt;BR /&gt;&lt;BR /&gt;Mesaure :&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;EM&gt;SWITCH(TRUE(),[Total Score]&amp;gt;=4.2,"E",[Total Score]&amp;gt;=3.7,"H",[Total Score]&amp;gt;=3.17,"High",[Total Score]&amp;gt;=2.66,"Mid",[Total Score]&amp;gt;=2.33,"Low",[Total Score]&amp;gt;=2,"M",[Total Score]&amp;gt;0,"U"&lt;/EM&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;I did create a slicer to beable to show only the ratings&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;EM&gt;VAR Currentselection = SELECTEDVALUE('Slicer Rating'[Rating])&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;VAR Currentrating = [Score Rating]&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;Return&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;SWITCH(&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TRUE(),&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Currentselection = "EP" &amp;amp;&amp;amp; Currentrating = "E", 1,&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Currentselection = "HP" &amp;amp;&amp;amp; Currentrating = "H", 1,&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Currentselection = "SP High" &amp;amp;&amp;amp; Currentrating = "High", 1,&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Currentselection = "SP Mid" &amp;amp;&amp;amp; Currentrating = "Mid", 1,&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Currentselection = "SP Low" &amp;amp;&amp;amp; Currentrating = "Low", 1,&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Currentselection = "MP" &amp;amp;&amp;amp; Currentrating = "M", 1,&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Currentselection = "UP" &amp;amp;&amp;amp; Currentrating = "U", 1,&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Currentselection = "All Ratings", 1,&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;Now I would like to show how many E,H,High,Mid etc.... we have but I cannot figure it out.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 31 Oct 2023 20:37:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-the-number-of-results-from-a-measure/m-p/3508182#M134594</guid>
      <dc:creator>Mschronpowerbi</dc:creator>
      <dc:date>2023-10-31T20:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: Count the number of results from a measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-the-number-of-results-from-a-measure/m-p/3509211#M134643</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="639667" data-lia-user-login="Mschronpowerbi" class="lia-mention lia-mention-user"&gt;Mschronpowerbi&lt;/a&gt;&amp;nbsp;your model is not available for details, especially for possible interaction with slicer so it is hard to provide sound possible solution.&lt;/P&gt;
&lt;P&gt;In general, counting something similar could be as below as measure.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;COUNTROWS (&amp;nbsp; &amp;lt;YourTable&amp;gt; )&amp;nbsp; or CALCULATE( &amp;lt;YourMeasure&amp;gt;, Filter argument)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 08:57:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-the-number-of-results-from-a-measure/m-p/3509211#M134643</guid>
      <dc:creator>some_bih</dc:creator>
      <dc:date>2023-11-01T08:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: Count the number of results from a measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-the-number-of-results-from-a-measure/m-p/3509592#M134662</link>
      <description>&lt;P&gt;All the data comes from different sorces.&amp;nbsp; How could I connect the weighted scores so that I could beable to count?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 12:51:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-the-number-of-results-from-a-measure/m-p/3509592#M134662</guid>
      <dc:creator>Mschronpowerbi</dc:creator>
      <dc:date>2023-11-01T12:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: Count the number of results from a measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-the-number-of-results-from-a-measure/m-p/3509809#M134669</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="639667" data-lia-user-login="Mschronpowerbi" class="lia-mention lia-mention-user"&gt;Mschronpowerbi&lt;/a&gt;&amp;nbsp;as your measure is working then one of possible solution could be create table with counting or put your measure in some columns and count rows of that table&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 14:22:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-the-number-of-results-from-a-measure/m-p/3509809#M134669</guid>
      <dc:creator>some_bih</dc:creator>
      <dc:date>2023-11-01T14:22:06Z</dc:date>
    </item>
  </channel>
</rss>

