<?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 Weeks with Value between Levels in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/COUNT-Weeks-with-Value-between-Levels/m-p/2562070#M72914</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="92006" data-lia-user-login="joshua1990" class="lia-mention lia-mention-user"&gt;joshua1990&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please try&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Number of Weeks &amp;lt; 0.075 =
COUNTROWS (
    FILTER ( VALUES ( 'Calendar'[Week] ), [Measure X] &amp;gt;= 0 &amp;amp;&amp;amp; [Measure X] &amp;lt; 0.075 )
)&lt;/LI-CODE&gt;</description>
    <pubDate>Mon, 06 Jun 2022 20:23:34 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2022-06-06T20:23:34Z</dc:date>
    <item>
      <title>COUNT Weeks with Value between Levels</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/COUNT-Weeks-with-Value-between-Levels/m-p/2561421#M72880</link>
      <description>&lt;P&gt;Hi experts!&lt;/P&gt;&lt;P&gt;I have a simple DIVIDE Measure (Measure x) that shows me the Ration between two different measures:&lt;/P&gt;&lt;P&gt;DIVIDE ([Measure 1], [Measure 2]).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I would like to get the number of weeks where Measure X has values below 0.075 (7,5%).&lt;/P&gt;&lt;P&gt;I tried this using the logic:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;CALCULATE (
    COUNTROWS ( VALUES ( 'Calendar'[Week] ) ),
    FILTER ( 'Calendar', [Measure X] &amp;gt;= 0 &amp;amp;&amp;amp; [Measure X] &amp;lt; 0.075 )
) + 0&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortuntely this is not working. I always get 23 &amp;gt; Number of weeks this year so far.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do I need COUNTX here?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2022 14:36:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/COUNT-Weeks-with-Value-between-Levels/m-p/2561421#M72880</guid>
      <dc:creator>joshua1990</dc:creator>
      <dc:date>2022-06-06T14:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: COUNT Weeks with Value between Levels</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/COUNT-Weeks-with-Value-between-Levels/m-p/2562070#M72914</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="92006" data-lia-user-login="joshua1990" class="lia-mention lia-mention-user"&gt;joshua1990&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please try&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Number of Weeks &amp;lt; 0.075 =
COUNTROWS (
    FILTER ( VALUES ( 'Calendar'[Week] ), [Measure X] &amp;gt;= 0 &amp;amp;&amp;amp; [Measure X] &amp;lt; 0.075 )
)&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 06 Jun 2022 20:23:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/COUNT-Weeks-with-Value-between-Levels/m-p/2562070#M72914</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-06-06T20:23:34Z</dc:date>
    </item>
  </channel>
</rss>

