<?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 Identifying the top value and any value 10 less than the top value in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Identifying-the-top-value-and-any-value-10-less-than-the-top/m-p/1649931#M33575</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to find the easest way to write a DAX measure to carry out the following action&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table with the following columns&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Name), (Age), (RPR)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;John,&amp;nbsp; &amp;nbsp;23,&amp;nbsp; &amp;nbsp;133&lt;/P&gt;&lt;P&gt;Alan,&amp;nbsp; &amp;nbsp; 25,&amp;nbsp; 144&lt;/P&gt;&lt;P&gt;David,&amp;nbsp; 43 , 145&lt;/P&gt;&lt;P&gt;Philip,&amp;nbsp; 47,&amp;nbsp; 151&lt;/P&gt;&lt;P&gt;Brian,&amp;nbsp; &amp;nbsp;26,&amp;nbsp; 134&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tony,&amp;nbsp; &amp;nbsp; 22, 126&lt;/P&gt;&lt;P&gt;Steven, 33, 145&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to find the top value from column (RPR) and then return True or False of the Value in (RPR) if it is the top value or the top value less 8, so the table should look like the following (any value from 143 to 151 should output 'True' any other value 'False'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Name), (Age), (RPR), (Top or 8 less)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;John,&amp;nbsp; &amp;nbsp;23,&amp;nbsp; &amp;nbsp;133, False&lt;/P&gt;&lt;P&gt;Alan,&amp;nbsp; &amp;nbsp; 25,&amp;nbsp; 144, True&lt;/P&gt;&lt;P&gt;David,&amp;nbsp; 43 , 145, True&lt;/P&gt;&lt;P&gt;Philip,&amp;nbsp; 47,&amp;nbsp; 151, True&lt;/P&gt;&lt;P&gt;Brian,&amp;nbsp; &amp;nbsp;26,&amp;nbsp; 134, False&lt;/P&gt;&lt;P&gt;Tony,&amp;nbsp; &amp;nbsp; 22, 126, False&lt;/P&gt;&lt;P&gt;Steven, 33, 145, True&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I then once have the 'True or 'False statement want to turn those True &amp;amp; False statements into integers True=8 and false=0 and display the table as below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Name), (Age), (RPR), (Top or 8 less) (Score)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;John,&amp;nbsp; &amp;nbsp;23,&amp;nbsp; &amp;nbsp;133, False, 0&lt;/P&gt;&lt;P&gt;Alan,&amp;nbsp; &amp;nbsp; 25,&amp;nbsp; 144, True, 8&lt;/P&gt;&lt;P&gt;David,&amp;nbsp; 43 , 145, True, 8&lt;/P&gt;&lt;P&gt;Philip,&amp;nbsp; 47,&amp;nbsp; 151, True, 8&lt;/P&gt;&lt;P&gt;Brian,&amp;nbsp; &amp;nbsp;26,&amp;nbsp; 134, False, 0&lt;/P&gt;&lt;P&gt;Tony,&amp;nbsp; &amp;nbsp; 22, 126, False, 0&lt;/P&gt;&lt;P&gt;Steven, 33, 145, True, 8&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any one who knows the simplest way to do this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your time&lt;/P&gt;</description>
    <pubDate>Sun, 07 Feb 2021 12:09:44 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-02-07T12:09:44Z</dc:date>
    <item>
      <title>Identifying the top value and any value 10 less than the top value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Identifying-the-top-value-and-any-value-10-less-than-the-top/m-p/1649931#M33575</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to find the easest way to write a DAX measure to carry out the following action&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table with the following columns&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Name), (Age), (RPR)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;John,&amp;nbsp; &amp;nbsp;23,&amp;nbsp; &amp;nbsp;133&lt;/P&gt;&lt;P&gt;Alan,&amp;nbsp; &amp;nbsp; 25,&amp;nbsp; 144&lt;/P&gt;&lt;P&gt;David,&amp;nbsp; 43 , 145&lt;/P&gt;&lt;P&gt;Philip,&amp;nbsp; 47,&amp;nbsp; 151&lt;/P&gt;&lt;P&gt;Brian,&amp;nbsp; &amp;nbsp;26,&amp;nbsp; 134&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tony,&amp;nbsp; &amp;nbsp; 22, 126&lt;/P&gt;&lt;P&gt;Steven, 33, 145&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to find the top value from column (RPR) and then return True or False of the Value in (RPR) if it is the top value or the top value less 8, so the table should look like the following (any value from 143 to 151 should output 'True' any other value 'False'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Name), (Age), (RPR), (Top or 8 less)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;John,&amp;nbsp; &amp;nbsp;23,&amp;nbsp; &amp;nbsp;133, False&lt;/P&gt;&lt;P&gt;Alan,&amp;nbsp; &amp;nbsp; 25,&amp;nbsp; 144, True&lt;/P&gt;&lt;P&gt;David,&amp;nbsp; 43 , 145, True&lt;/P&gt;&lt;P&gt;Philip,&amp;nbsp; 47,&amp;nbsp; 151, True&lt;/P&gt;&lt;P&gt;Brian,&amp;nbsp; &amp;nbsp;26,&amp;nbsp; 134, False&lt;/P&gt;&lt;P&gt;Tony,&amp;nbsp; &amp;nbsp; 22, 126, False&lt;/P&gt;&lt;P&gt;Steven, 33, 145, True&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I then once have the 'True or 'False statement want to turn those True &amp;amp; False statements into integers True=8 and false=0 and display the table as below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Name), (Age), (RPR), (Top or 8 less) (Score)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;John,&amp;nbsp; &amp;nbsp;23,&amp;nbsp; &amp;nbsp;133, False, 0&lt;/P&gt;&lt;P&gt;Alan,&amp;nbsp; &amp;nbsp; 25,&amp;nbsp; 144, True, 8&lt;/P&gt;&lt;P&gt;David,&amp;nbsp; 43 , 145, True, 8&lt;/P&gt;&lt;P&gt;Philip,&amp;nbsp; 47,&amp;nbsp; 151, True, 8&lt;/P&gt;&lt;P&gt;Brian,&amp;nbsp; &amp;nbsp;26,&amp;nbsp; 134, False, 0&lt;/P&gt;&lt;P&gt;Tony,&amp;nbsp; &amp;nbsp; 22, 126, False, 0&lt;/P&gt;&lt;P&gt;Steven, 33, 145, True, 8&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any one who knows the simplest way to do this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your time&lt;/P&gt;</description>
      <pubDate>Sun, 07 Feb 2021 12:09:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Identifying-the-top-value-and-any-value-10-less-than-the-top/m-p/1649931#M33575</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-02-07T12:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying the top value and any value 10 less than the top value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Identifying-the-top-value-and-any-value-10-less-than-the-top/m-p/1649942#M33576</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;, you might want to try this formula in a calculated column,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Score = ( Table1[RPR] &amp;gt;= MAX ( Table1[RPR] ) - 8 ) * 8&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Feb 2021 12:34:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Identifying-the-top-value-and-any-value-10-less-than-the-top/m-p/1649942#M33576</guid>
      <dc:creator>CNENFRNL</dc:creator>
      <dc:date>2021-02-07T12:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying the top value and any value 10 less than the top value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Identifying-the-top-value-and-any-value-10-less-than-the-top/m-p/1650041#M33579</link>
      <description>&lt;P&gt;Thanks for your response, in my table that doesnt work for some reason, im getting all 0's&lt;/P&gt;&lt;P&gt;so I took out the -8 ) *8 and the result reads 'false' in every row, hence all the zeros&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I can just get the correct 'true' or 'false' statement first I can convert that to integers and multiply by 8 quite easily.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was looking for a DAX method via a measure rather than a calculated column.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for you time.&lt;/P&gt;</description>
      <pubDate>Sun, 07 Feb 2021 14:40:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Identifying-the-top-value-and-any-value-10-less-than-the-top/m-p/1650041#M33579</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-02-07T14:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying the top value and any value 10 less than the top value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Identifying-the-top-value-and-any-value-10-less-than-the-top/m-p/1664670#M33978</link>
      <description>&lt;P&gt;Apologies ! Your solution does work, there was an error in my table,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 13 Feb 2021 19:21:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Identifying-the-top-value-and-any-value-10-less-than-the-top/m-p/1664670#M33978</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-02-13T19:21:30Z</dc:date>
    </item>
  </channel>
</rss>

