<?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: Calculate sum with filter in different table in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-sum-with-filter-in-different-table/m-p/1228384#M20004</link>
    <description>&lt;P&gt;Let me understand what you mean:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you want to sum amounts from table one for all projects that have a certain status and type.&lt;/P&gt;&lt;P&gt;this is easy: you can simply create a relation between the two tables, then you can use a DAX expression like&lt;BR /&gt;&lt;BR /&gt;Calculate(Sum('Table1'[Amount]), 'table2'[status]= your condition, 'table2'[type]= your condition)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;now the problem is: do you want this to be an added column in a table, do you want to create a new table or do you want this to be a measure?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope I was Helpful. if I did please mark as solution and kudos are always appreciated &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 16 Jul 2020 13:52:05 GMT</pubDate>
    <dc:creator>Ste_For94</dc:creator>
    <dc:date>2020-07-16T13:52:05Z</dc:date>
    <item>
      <title>Calculate sum with filter in different table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-sum-with-filter-in-different-table/m-p/1228281#M19995</link>
      <description>&lt;PRE&gt;&lt;SPAN&gt;Recently started with DAX.

I want to calculate a column in a table for the current year. I got that one.

But I really only want to add up the amounts in table 1 to projects that meet the conditions in table 2 (status and type) for the current financial year.

 
Table 1
columns:
project
amount

Table 2
columns:
project
status
type


Thanks in advance for your help.&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2020 13:18:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-sum-with-filter-in-different-table/m-p/1228281#M19995</guid>
      <dc:creator>Sparkeltje</dc:creator>
      <dc:date>2020-07-16T13:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate sum with filter in different table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-sum-with-filter-in-different-table/m-p/1228346#M19999</link>
      <description>&lt;P&gt;Do you want to do this via the data model or via lookup?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2020 13:43:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-sum-with-filter-in-different-table/m-p/1228346#M19999</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2020-07-16T13:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate sum with filter in different table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-sum-with-filter-in-different-table/m-p/1228374#M20002</link>
      <description>&lt;P&gt;Via data model.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2020 13:50:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-sum-with-filter-in-different-table/m-p/1228374#M20002</guid>
      <dc:creator>Sparkeltje</dc:creator>
      <dc:date>2020-07-16T13:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate sum with filter in different table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-sum-with-filter-in-different-table/m-p/1228384#M20004</link>
      <description>&lt;P&gt;Let me understand what you mean:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you want to sum amounts from table one for all projects that have a certain status and type.&lt;/P&gt;&lt;P&gt;this is easy: you can simply create a relation between the two tables, then you can use a DAX expression like&lt;BR /&gt;&lt;BR /&gt;Calculate(Sum('Table1'[Amount]), 'table2'[status]= your condition, 'table2'[type]= your condition)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;now the problem is: do you want this to be an added column in a table, do you want to create a new table or do you want this to be a measure?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope I was Helpful. if I did please mark as solution and kudos are always appreciated &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2020 13:52:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-sum-with-filter-in-different-table/m-p/1228384#M20004</guid>
      <dc:creator>Ste_For94</dc:creator>
      <dc:date>2020-07-16T13:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate sum with filter in different table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-sum-with-filter-in-different-table/m-p/1228457#M20010</link>
      <description>&lt;P&gt;It is that simple! Found out what I did wrong. Something with ( ""&amp;nbsp; etc.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2020 14:15:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-sum-with-filter-in-different-table/m-p/1228457#M20010</guid>
      <dc:creator>Sparkeltje</dc:creator>
      <dc:date>2020-07-16T14:15:47Z</dc:date>
    </item>
  </channel>
</rss>

