<?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 Measure to Calculate Difference. in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-to-Calculate-Difference/m-p/2318456#M57852</link>
    <description>&lt;P&gt;That did the trick! Thank you so much,&lt;/P&gt;&lt;P&gt;Bob&lt;/P&gt;</description>
    <pubDate>Thu, 03 Feb 2022 21:00:11 GMT</pubDate>
    <dc:creator>bob57</dc:creator>
    <dc:date>2022-02-03T21:00:11Z</dc:date>
    <item>
      <title>DAX Measure to Calculate Difference.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-to-Calculate-Difference/m-p/2318413#M57846</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I need a DAX measure that will produce the column, DiffFromBlue, shown in Table 2. The column must display the difference in the Rating column from Tee Blue. For example, for Pebble Beach from the Black tee the difference is 2.9 or the Black Tee Rating (75.5) minus the Blue Tee Rating (72.6). Another example: for Spyglass Hill from the White tee the difference is -1.9 or the White Tee Rating (71.7) minus the Blue Tee Rating (73.6).&lt;/P&gt;&lt;P&gt;On the surface, this problem seems simple enough, but the solution escapes me.&lt;/P&gt;&lt;P&gt;Thank you for your time.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 20:13:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-to-Calculate-Difference/m-p/2318413#M57846</guid>
      <dc:creator>bob57</dc:creator>
      <dc:date>2022-02-03T20:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Measure to Calculate Difference.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-to-Calculate-Difference/m-p/2318436#M57850</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="198866" data-lia-user-login="bob57" class="lia-mention lia-mention-user"&gt;bob57&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this is the outcome you wish for...&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;... then I have a possible solution for you:&lt;/P&gt;&lt;PRE&gt;DiffFromBlue = 
VAR _valueBlue = 
CALCULATE (
    MAX ( TeaTable[Rating] ),
    ALLEXCEPT ( 'TeaTable', 'TeaTable'[CourseName] ),
    TeaTable[Tee] = "Blue"
)

RETURN
MAX ( TeaTable[Rating] ) - _valueBlue&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/Tom&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.tackytech.blog/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.tackytech.blog&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.instagram.com/tackytechtom/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.instagram.com/tackytechtom&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 20:43:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-to-Calculate-Difference/m-p/2318436#M57850</guid>
      <dc:creator>tackytechtom</dc:creator>
      <dc:date>2022-02-03T20:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Measure to Calculate Difference.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-to-Calculate-Difference/m-p/2318456#M57852</link>
      <description>&lt;P&gt;That did the trick! Thank you so much,&lt;/P&gt;&lt;P&gt;Bob&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 21:00:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-to-Calculate-Difference/m-p/2318456#M57852</guid>
      <dc:creator>bob57</dc:creator>
      <dc:date>2022-02-03T21:00:11Z</dc:date>
    </item>
  </channel>
</rss>

