<?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 Count of decimal greater than X but less than Y in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-decimal-greater-than-X-but-less-than-Y/m-p/1802766#M38018</link>
    <description>&lt;P&gt;So I am newer to Power BI and I have been trying to get this to work using several formulas i've found on the forums here but nothing seems to be worknig for me. I have tried to create an IF statement, a switch, and even just a string of measures that reference each other but nothing seems to be working.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I am attempting to do is reference my dataset to count the number of items in a column meeting the following parameters.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Count of decimal number less than or equal to 5&lt;/P&gt;&lt;P&gt;Count of decimal greater than 5 less than or equal to 10&lt;/P&gt;&lt;P&gt;Count of decimal greater than 10 less than or equal to 15&lt;/P&gt;&lt;P&gt;Count of decimal greater than 15 less than or equal to 20&lt;/P&gt;&lt;P&gt;Count greater than 20&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problems I run into, when I create my IF statement is won't let me reference a column only another measure. My skills aren't quite up to crafting a full logical statement with declared variables it seems, having not taken or used a programming language since college a very long time ago.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 23 Apr 2021 13:00:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-04-23T13:00:10Z</dc:date>
    <item>
      <title>Count of decimal greater than X but less than Y</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-decimal-greater-than-X-but-less-than-Y/m-p/1802766#M38018</link>
      <description>&lt;P&gt;So I am newer to Power BI and I have been trying to get this to work using several formulas i've found on the forums here but nothing seems to be worknig for me. I have tried to create an IF statement, a switch, and even just a string of measures that reference each other but nothing seems to be working.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I am attempting to do is reference my dataset to count the number of items in a column meeting the following parameters.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Count of decimal number less than or equal to 5&lt;/P&gt;&lt;P&gt;Count of decimal greater than 5 less than or equal to 10&lt;/P&gt;&lt;P&gt;Count of decimal greater than 10 less than or equal to 15&lt;/P&gt;&lt;P&gt;Count of decimal greater than 15 less than or equal to 20&lt;/P&gt;&lt;P&gt;Count greater than 20&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problems I run into, when I create my IF statement is won't let me reference a column only another measure. My skills aren't quite up to crafting a full logical statement with declared variables it seems, having not taken or used a programming language since college a very long time ago.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 13:00:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-decimal-greater-than-X-but-less-than-Y/m-p/1802766#M38018</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-04-23T13:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Count of decimal greater than X but less than Y</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-decimal-greater-than-X-but-less-than-Y/m-p/1802804#M38022</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;When referencing a column from a measure, you need to use an aggregation function. MAX, MIN, SUM, AVERAGE, COUNTROWS, etc. Other than that, not enough information to really go deeper.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you post sample data as text and expected output? Please first check if your issue is a common issue listed here: &lt;A href="https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also, please see this post regarding How to Get Your Question Answered Quickly: &lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The most important parts are:&lt;BR /&gt;1. Sample data as text, use the table tool in the editing bar&lt;BR /&gt;2. Expected output from sample data&lt;BR /&gt;3. Explanation in words of how to get from 1. to 2.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 13:32:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-decimal-greater-than-X-but-less-than-Y/m-p/1802804#M38022</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2021-04-23T13:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: Count of decimal greater than X but less than Y</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-decimal-greater-than-X-but-less-than-Y/m-p/1802961#M38033</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's the best advice you could ever get:&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/DAX-Commands-and-Tips/How-to-Get-Your-Question-Answered-Quickly/td-p/1626726" target="_blank"&gt;https://community.powerbi.com/t5/DAX-Commands-and-Tips/How-to-Get-Your-Question-Answered-Quickly/td-p/1626726&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please read this carefully and then you'll know what to do to get an answer to any problem you'll have. Enjoy &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 14:36:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-decimal-greater-than-X-but-less-than-Y/m-p/1802961#M38033</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-04-23T14:36:42Z</dc:date>
    </item>
  </channel>
</rss>

