<?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: Need help correcting my easy measure in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-correcting-my-easy-measure/m-p/4034652#M159835</link>
    <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="494895" data-lia-user-login="RichOB" class="lia-mention lia-mention-user"&gt;RichOB&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your measures seems to be correct already. Putting that Major measure in a table with all those other fields will show the Major measure total regardless of the severity value in the current row. If you want to show just for major when it is the current value, you can use:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Major =
CALCULATE (
    SUM ( 'Table'[Clientcount] ),
    KEEPFILTERS ( 'Table'[Severity] = "Major" )
)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want the total for each without&amp;nbsp; using separate measures:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Major =
CALCULATE (
    SUM ( 'Table'[Clientcount] ),
    ALLEXCEPT( 'Table',  'Table'[Severity] )
)
&lt;/LI-CODE&gt;</description>
    <pubDate>Wed, 10 Jul 2024 12:51:17 GMT</pubDate>
    <dc:creator>danextian</dc:creator>
    <dc:date>2024-07-10T12:51:17Z</dc:date>
    <item>
      <title>Need help correcting my easy measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-correcting-my-easy-measure/m-p/4034635#M159832</link>
      <description>&lt;P class="lia-align-justify"&gt;Hi, I need Major, Minor, and Moderate to be their own measures if possible so I can use those details in other calculations. But first I need to isolate them.&lt;/P&gt;&lt;P class="lia-align-justify"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-align-justify"&gt;I could have sworn I've made a measure kind of like this before, but it doesn't work so something must be wrong:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Major = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;('Table'[Clientcount]), 'Table'[Severity]=&lt;/SPAN&gt;&lt;SPAN&gt;"Major"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Here's my data set:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Name&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Severity&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Clientcount&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Dave&lt;/TD&gt;&lt;TD&gt;Major&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Mark&lt;/TD&gt;&lt;TD&gt;Minor&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Phil&lt;/TD&gt;&lt;TD&gt;Moderate&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Stacey&lt;/TD&gt;&lt;TD&gt;Major&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Emily&lt;/TD&gt;&lt;TD&gt;Major&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Anna&lt;/TD&gt;&lt;TD&gt;Major&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P class="lia-align-justify"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-align-justify"&gt;Is there a measure that can isolate each severity type and the number of Clientcount that belong to that severity type like this?:&lt;/P&gt;&lt;P class="lia-align-justify"&gt;Measure 1: Major&amp;nbsp; = 4&lt;/P&gt;&lt;P class="lia-align-justify"&gt;Measure 2: Minor = 1&lt;/P&gt;&lt;P class="lia-align-justify"&gt;Measure 3: Moderate = 1&lt;/P&gt;&lt;P class="lia-align-justify"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-align-justify"&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 12:43:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-correcting-my-easy-measure/m-p/4034635#M159832</guid>
      <dc:creator>RichOB</dc:creator>
      <dc:date>2024-07-10T12:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: Need help correcting my easy measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-correcting-my-easy-measure/m-p/4034652#M159835</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="494895" data-lia-user-login="RichOB" class="lia-mention lia-mention-user"&gt;RichOB&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your measures seems to be correct already. Putting that Major measure in a table with all those other fields will show the Major measure total regardless of the severity value in the current row. If you want to show just for major when it is the current value, you can use:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Major =
CALCULATE (
    SUM ( 'Table'[Clientcount] ),
    KEEPFILTERS ( 'Table'[Severity] = "Major" )
)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want the total for each without&amp;nbsp; using separate measures:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Major =
CALCULATE (
    SUM ( 'Table'[Clientcount] ),
    ALLEXCEPT( 'Table',  'Table'[Severity] )
)
&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 10 Jul 2024 12:51:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-correcting-my-easy-measure/m-p/4034652#M159835</guid>
      <dc:creator>danextian</dc:creator>
      <dc:date>2024-07-10T12:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Need help correcting my easy measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-correcting-my-easy-measure/m-p/4034690#M159840</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="15697" data-lia-user-login="danextian" class="lia-mention lia-mention-user"&gt;danextian&lt;/a&gt;&amp;nbsp;thanks for getting back to me. I tried that but it's giving me this error. Any ideas why?&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 13:11:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-correcting-my-easy-measure/m-p/4034690#M159840</guid>
      <dc:creator>RichOB</dc:creator>
      <dc:date>2024-07-10T13:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: Need help correcting my easy measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-correcting-my-easy-measure/m-p/4034726#M159848</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="15697" data-lia-user-login="danextian" class="lia-mention lia-mention-user"&gt;danextian&lt;/a&gt;&amp;nbsp;ah the numerical type was text, not a number. Thanks for your help the measure works perfectly!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 13:22:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-correcting-my-easy-measure/m-p/4034726#M159848</guid>
      <dc:creator>RichOB</dc:creator>
      <dc:date>2024-07-10T13:22:32Z</dc:date>
    </item>
  </channel>
</rss>

