<?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 Sum based on three distinct in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-based-on-three-distinct/m-p/833706#M6080</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I have a set of data that cannot be changed and it looks like vizualized below. I want to based on distinct value of the column "Project", the distinct value of the column "Department" and as well as a distinct value of the column "Calculation" to sum the values in column "Values".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created this table by entering&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;EM&gt;Avdelning = &lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;DISTINCT(SELECTCOLUMNS(Economy;"Project";Economy[Project];"Department";Economy[Department];"Calculation";Economy[Calculation]))&lt;/EM&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&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;Could somebody help me?&lt;/P&gt;</description>
    <pubDate>Thu, 31 Oct 2019 09:34:27 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-10-31T09:34:27Z</dc:date>
    <item>
      <title>Sum based on three distinct</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-based-on-three-distinct/m-p/833706#M6080</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I have a set of data that cannot be changed and it looks like vizualized below. I want to based on distinct value of the column "Project", the distinct value of the column "Department" and as well as a distinct value of the column "Calculation" to sum the values in column "Values".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created this table by entering&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;EM&gt;Avdelning = &lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;DISTINCT(SELECTCOLUMNS(Economy;"Project";Economy[Project];"Department";Economy[Department];"Calculation";Economy[Calculation]))&lt;/EM&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&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;Could somebody help me?&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2019 09:34:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-based-on-three-distinct/m-p/833706#M6080</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-31T09:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: Sum based on three distinct</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-based-on-three-distinct/m-p/833797#M6084</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't understand your desired outcome or your data. Could you please read this:&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_self"&gt;How to Get Your Question Answered Quickly&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;and reformulate your question?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;BR /&gt;Sturla&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2019 10:53:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-based-on-three-distinct/m-p/833797#M6084</guid>
      <dc:creator>sturlaws</dc:creator>
      <dc:date>2019-10-31T10:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: Sum based on three distinct</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-based-on-three-distinct/m-p/833813#M6086</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Sorry, I realized it wasn't the best description.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want something like SUMIFS in excel. I want to sum the costs based on project, department and calculation.&lt;/P&gt;&lt;P&gt;Is this more clear?&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2019 11:04:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-based-on-three-distinct/m-p/833813#M6086</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-31T11:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: Sum based on three distinct</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-based-on-three-distinct/m-p/833869#M6092</link>
      <description>&lt;P&gt;It does not really help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I guess you will be needing the SUMMARIZECOLUMNS-function:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Avdelning =
SUMMARIZECOLUMNS (
    Economy[Project];
    Economy[Department];
    "Something"; SUM ( Economy[Whatever] )
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2019 11:54:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-based-on-three-distinct/m-p/833869#M6092</guid>
      <dc:creator>sturlaws</dc:creator>
      <dc:date>2019-10-31T11:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: Sum based on three distinct</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-based-on-three-distinct/m-p/833895#M6094</link>
      <description>&lt;P&gt;Thank you for your help sir.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2019 12:19:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-based-on-three-distinct/m-p/833895#M6094</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-31T12:19:50Z</dc:date>
    </item>
  </channel>
</rss>

