<?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 Using Dax to calculate a sum for one table based on the values in another table in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-Dax-to-calculate-a-sum-for-one-table-based-on-the-values/m-p/4104797#M162895</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to used Dax to calculate the sum of one column (The 'quantity delivered' for a various items) in one table (Material Delivered Report) based on filtering the data in two columns (Category &amp;amp; Items*) in another table (Material Types).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My issue is with the *Items - There are 5 different values but i want to be able to exclude 1 but include the other 4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hopefully this visualise by issue, i want the filter to reflect the selection of the cells in yellow below:&lt;/P&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;I have tried creating a meausre using the Calculate/Sum/Filters but I cannot seem to make this work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hopefully someone can provide some assistance, thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Aug 2024 18:54:01 GMT</pubDate>
    <dc:creator>Mib071</dc:creator>
    <dc:date>2024-08-16T18:54:01Z</dc:date>
    <item>
      <title>Using Dax to calculate a sum for one table based on the values in another table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-Dax-to-calculate-a-sum-for-one-table-based-on-the-values/m-p/4104797#M162895</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to used Dax to calculate the sum of one column (The 'quantity delivered' for a various items) in one table (Material Delivered Report) based on filtering the data in two columns (Category &amp;amp; Items*) in another table (Material Types).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My issue is with the *Items - There are 5 different values but i want to be able to exclude 1 but include the other 4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hopefully this visualise by issue, i want the filter to reflect the selection of the cells in yellow below:&lt;/P&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;I have tried creating a meausre using the Calculate/Sum/Filters but I cannot seem to make this work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hopefully someone can provide some assistance, thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2024 18:54:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-Dax-to-calculate-a-sum-for-one-table-based-on-the-values/m-p/4104797#M162895</guid>
      <dc:creator>Mib071</dc:creator>
      <dc:date>2024-08-16T18:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: Using Dax to calculate a sum for one table based on the values in another table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-Dax-to-calculate-a-sum-for-one-table-based-on-the-values/m-p/4104808#M162896</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="792888" data-lia-user-login="Mib071" class="lia-mention lia-mention-user"&gt;Mib071&lt;/a&gt;&amp;nbsp;Sorry, having trouble following, can you post sample data as text and expected output?&lt;BR /&gt;Not really enough information to go on, please first check if your issue is a common issue listed here: &lt;A href="https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also, please see this post regarding How to Get Your Question Answered Quickly: &lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The most important parts are:&lt;BR /&gt;1. Sample data as text, use the table tool in the editing bar&lt;BR /&gt;2. Expected output from sample data&lt;BR /&gt;3. Explanation in words of how to get from 1. to 2.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2024 19:07:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-Dax-to-calculate-a-sum-for-one-table-based-on-the-values/m-p/4104808#M162896</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2024-08-16T19:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: Using Dax to calculate a sum for one table based on the values in another table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-Dax-to-calculate-a-sum-for-one-table-based-on-the-values/m-p/4120087#M163573</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="792888" data-lia-user-login="Mib071" class="lia-mention lia-mention-user"&gt;Mib071&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Based on your description I created these data.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;1. created the calculation table to get the Cartesian product of all the rows in the original table.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Table2 = 
CROSSJOIN(
    VALUES('Table'[Category]),
    VALUES('Table'[Items])
)&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;2. Use the new table as a field for the visual object in the report.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;If your Current Period does not refer to this, please clarify in a follow-up reply.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Clara Gong&lt;/P&gt;
&lt;P&gt;If there is any post&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2024 07:04:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-Dax-to-calculate-a-sum-for-one-table-based-on-the-values/m-p/4120087#M163573</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-08-27T07:04:20Z</dc:date>
    </item>
  </channel>
</rss>

