<?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 Need to aggregate multiple values into single value/ignore the filter context (DAX) in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-to-aggregate-multiple-values-into-single-value-ignore-the/m-p/1519152#M29587</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have a formula as follows that provides the correct data but not as I want it displayed (eg when in Excel pivot table)&lt;/P&gt;&lt;P&gt;What I want it to do is to provide the same total value regardless of whether I add the "mtrc_nm" into the rows area of the pivot table&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the formula:&lt;/P&gt;&lt;P&gt;mtrc_all_tcob_ttl:= CALCULATE ([mtrc_ttl], AND(TCOB[mtrc_nm] &amp;lt;&amp;gt; "rma_crdt" , TCOB[mtrc_nm] &amp;lt;&amp;gt; "net_rev")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is how it looks in the pivot table:&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the following image is how I want it to appear -ie; I want it to ignore the "mtrc_nm" dimension (I think this is called ignoring the filter context??)&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think I need to use the "ALL" or "ALLEXCEPT" function somehow but can't figure it out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate any advice!!&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Fergal&lt;/P&gt;</description>
    <pubDate>Thu, 26 Nov 2020 15:41:44 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-11-26T15:41:44Z</dc:date>
    <item>
      <title>Need to aggregate multiple values into single value/ignore the filter context (DAX)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-to-aggregate-multiple-values-into-single-value-ignore-the/m-p/1519152#M29587</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have a formula as follows that provides the correct data but not as I want it displayed (eg when in Excel pivot table)&lt;/P&gt;&lt;P&gt;What I want it to do is to provide the same total value regardless of whether I add the "mtrc_nm" into the rows area of the pivot table&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the formula:&lt;/P&gt;&lt;P&gt;mtrc_all_tcob_ttl:= CALCULATE ([mtrc_ttl], AND(TCOB[mtrc_nm] &amp;lt;&amp;gt; "rma_crdt" , TCOB[mtrc_nm] &amp;lt;&amp;gt; "net_rev")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is how it looks in the pivot table:&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the following image is how I want it to appear -ie; I want it to ignore the "mtrc_nm" dimension (I think this is called ignoring the filter context??)&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think I need to use the "ALL" or "ALLEXCEPT" function somehow but can't figure it out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate any advice!!&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Fergal&lt;/P&gt;</description>
      <pubDate>Thu, 26 Nov 2020 15:41:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-to-aggregate-multiple-values-into-single-value-ignore-the/m-p/1519152#M29587</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-26T15:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: Need to aggregate multiple values into single value/ignore the filter context (DAX)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-to-aggregate-multiple-values-into-single-value-ignore-the/m-p/1519356#M29599</link>
      <description>&lt;P&gt;&lt;SPAN&gt;mtrc_all_tcob_ttl:= CALCULATE ([mtrc_ttl], ALL(TCOB[mtrc_nm])&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Nov 2020 19:32:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-to-aggregate-multiple-values-into-single-value-ignore-the/m-p/1519356#M29599</guid>
      <dc:creator>MattAllington</dc:creator>
      <dc:date>2020-11-26T19:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: Need to aggregate multiple values into single value/ignore the filter context (DAX)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-to-aggregate-multiple-values-into-single-value-ignore-the/m-p/1519362#M29600</link>
      <description>&lt;P&gt;hi Matt&lt;/P&gt;&lt;P&gt;thanks for the info but that would not exclude the metrics I need excluded&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[mtrc_nm] &amp;lt;&amp;gt; "rma_crdt" and [mtrc_nm] &amp;lt;&amp;gt; "net_rev"&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Nov 2020 19:48:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-to-aggregate-multiple-values-into-single-value-ignore-the/m-p/1519362#M29600</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-26T19:48:01Z</dc:date>
    </item>
  </channel>
</rss>

