<?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 Percentage Range in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Percentage-Range/m-p/3365730#M126557</link>
    <description>&lt;P&gt;Yes, there's a difference between the actual underlying numerical value and the way it's displayed (Format).&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;It sounds like you need to round the value to the nearest 0.0001 before displaying it in the chart.&lt;BR /&gt;&lt;BR /&gt;here's the ROUND function, and an example of what the measure or new column should look like.&amp;nbsp; All you need to do is put in the integer corresponding to how many digits after the decimal point you want to round, (sounds like 4 is the right number for you, 4 places after the decimal).&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/dax/round-function-dax" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/dax/round-function-dax&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Statistical Attendance Presence Below Target % =&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var attendance = ROUND('MIS: Attendance'[Statistical Attendance Presence %]&amp;nbsp;, &amp;lt;put integer here&amp;gt;)&lt;BR /&gt;&lt;/SPAN&gt;return&lt;BR /&gt;IF(attendance&amp;nbsp;&lt;SPAN&gt;&amp;gt;=&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;0.90 &amp;amp;&amp;amp; attendance&amp;nbsp;&amp;lt;=&amp;nbsp;0.93, attendance, BLANK())&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;&lt;STRONG&gt;//Mediocre Power BI Advice, but it's free//&lt;/STRONG&gt;&lt;/EM&gt;&lt;/U&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 04 Aug 2023 15:47:10 GMT</pubDate>
    <dc:creator>kpost</dc:creator>
    <dc:date>2023-08-04T15:47:10Z</dc:date>
    <item>
      <title>DAX Percentage Range</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Percentage-Range/m-p/3363724#M126469</link>
      <description>&lt;P&gt;I'm new to DAX so any help would be greatly appreciated. I have created the Dax formula below. It works but doesn't include anyone that's attendance is exactly 93%. It is excluding these from the table. I cannot see what is wrong with the DAX measure. The measure needs to display any student on or above 90% and less than or equal to 93%.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Statistical Attendance Presence Below Target % = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;// displays attendance for students on or above 90% and less than or equal to 93% &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; 'MIS: Attendance'[Statistical Attendance Presence %] &amp;gt;= &lt;/SPAN&gt;&lt;SPAN&gt;0.90&lt;/SPAN&gt;&lt;SPAN&gt; &amp;amp;&amp;amp; 'MIS: Attendance'[Statistical Attendance Presence %] &amp;lt;= &lt;/SPAN&gt;&lt;SPAN&gt;0.93&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; 'MIS: Attendance'[Statistical Attendance Presence %]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 03 Aug 2023 12:53:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Percentage-Range/m-p/3363724#M126469</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-08-03T12:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Percentage Range</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Percentage-Range/m-p/3364103#M126482</link>
      <description>&lt;P&gt;Is is possible that the % value is being displayed as a whole number even though it's actually a decimal?&lt;BR /&gt;&lt;BR /&gt;So your table would display somebody's attendance as 93%, but perhaps it's actually 93.1% and therefore should be excluded?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2023 17:29:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Percentage-Range/m-p/3364103#M126482</guid>
      <dc:creator>kpost</dc:creator>
      <dc:date>2023-08-03T17:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Percentage Range</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Percentage-Range/m-p/3365463#M126546</link>
      <description>&lt;P&gt;Thanks for your reply. I've double-checked and the figure is a percentage at 2 decimal places.&amp;nbsp; The actual value for a student in the table is 93.001345895, but because i only want 2 decimal places it should show this record in the table as it equals 93%. Am I missing something simple? I have even tried removing the measure and using the filter's visual panel to see if that filter works, but it is doing exactly the same.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2023 12:38:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Percentage-Range/m-p/3365463#M126546</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-08-04T12:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Percentage Range</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Percentage-Range/m-p/3365730#M126557</link>
      <description>&lt;P&gt;Yes, there's a difference between the actual underlying numerical value and the way it's displayed (Format).&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;It sounds like you need to round the value to the nearest 0.0001 before displaying it in the chart.&lt;BR /&gt;&lt;BR /&gt;here's the ROUND function, and an example of what the measure or new column should look like.&amp;nbsp; All you need to do is put in the integer corresponding to how many digits after the decimal point you want to round, (sounds like 4 is the right number for you, 4 places after the decimal).&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/dax/round-function-dax" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/dax/round-function-dax&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Statistical Attendance Presence Below Target % =&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var attendance = ROUND('MIS: Attendance'[Statistical Attendance Presence %]&amp;nbsp;, &amp;lt;put integer here&amp;gt;)&lt;BR /&gt;&lt;/SPAN&gt;return&lt;BR /&gt;IF(attendance&amp;nbsp;&lt;SPAN&gt;&amp;gt;=&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;0.90 &amp;amp;&amp;amp; attendance&amp;nbsp;&amp;lt;=&amp;nbsp;0.93, attendance, BLANK())&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;&lt;STRONG&gt;//Mediocre Power BI Advice, but it's free//&lt;/STRONG&gt;&lt;/EM&gt;&lt;/U&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2023 15:47:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Percentage-Range/m-p/3365730#M126557</guid>
      <dc:creator>kpost</dc:creator>
      <dc:date>2023-08-04T15:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Percentage Range</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Percentage-Range/m-p/3367970#M126690</link>
      <description>&lt;P&gt;I tried your solution this morning and it worked!!! I'm so grateful for your response. It was driving me mad and I couldn't see what I had done.&amp;nbsp;A massive thank you once again.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 08:49:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Percentage-Range/m-p/3367970#M126690</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-08-07T08:49:07Z</dc:date>
    </item>
  </channel>
</rss>

