<?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: Calculation of Sum with Filters - Which is right DAX to use? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-of-Sum-with-Filters-Which-is-right-DAX-to-use/m-p/2409940#M63455</link>
    <description>&lt;P&gt;sorry to clarify...&lt;/P&gt;&lt;P&gt;My Data Table Only Includes sales data not the deeper item description or manufacturer details:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Item Code&lt;/P&gt;&lt;P&gt;$ Sales&lt;/P&gt;&lt;P&gt;Week&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My Item Master Table Includes&lt;/P&gt;&lt;P&gt;Item Code (Key Field)&lt;/P&gt;&lt;P&gt;Manufacturer&lt;/P&gt;&lt;P&gt;Category&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;</description>
    <pubDate>Tue, 22 Mar 2022 15:16:02 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-03-22T15:16:02Z</dc:date>
    <item>
      <title>Calculation of Sum with Filters - Which is right DAX to use?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-of-Sum-with-Filters-Which-is-right-DAX-to-use/m-p/2409797#M63431</link>
      <description>&lt;P&gt;This is probably an easy solution for you guys but I'm rusty on my Dax.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to create a visualization that includes one column of filtered sales data (by a field in my item master called "manufacturer") and a separate calculation that is the TOTAL of the category that still includes the data being filtered in the prior column.&amp;nbsp; This is an OVERLY simplified model of my sales data, and a relatively simple output for the visualization as well. Eventually I'll bring in time intelligence, changes vs prior year etc. I've addressed this in past with slicers but the slicer then filters out all the sales data so I can't have both the manufacturer and total category sales on the same visualization.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just need to understand what is the appropriate command to create the filtered sales columns and unfiltered category sales columns.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;EXAMPLE OF DATA TABLE&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Item Description&lt;/TD&gt;&lt;TD&gt;Category&lt;/TD&gt;&lt;TD&gt;Manufacturer&lt;/TD&gt;&lt;TD&gt;Week #&lt;/TD&gt;&lt;TD&gt;Sales&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Item 1&lt;/TD&gt;&lt;TD&gt;Widget&lt;/TD&gt;&lt;TD&gt;Company 1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;$25&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Item 2&lt;/TD&gt;&lt;TD&gt;Cords&lt;/TD&gt;&lt;TD&gt;Company 1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;$40&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Item 3&lt;/TD&gt;&lt;TD&gt;Widget&lt;/TD&gt;&lt;TD&gt;Company 2&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;$33&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Item 4&lt;/TD&gt;&lt;TD&gt;Cords&lt;/TD&gt;&lt;TD&gt;Company 2&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;$50&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Item 5&lt;/TD&gt;&lt;TD&gt;Widget&lt;/TD&gt;&lt;TD&gt;Company 3&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;$18&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Item 6&lt;/TD&gt;&lt;TD&gt;Cords&lt;/TD&gt;&lt;TD&gt;Company 3&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;$45&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Item 7&lt;/TD&gt;&lt;TD&gt;Widget&lt;/TD&gt;&lt;TD&gt;Company 4&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;$22&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Item 8&lt;/TD&gt;&lt;TD&gt;Cords&lt;/TD&gt;&lt;TD&gt;Company 4&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;$47&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EXAMPLE of DESIRED VISUALIZATON&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Company 1&lt;/TD&gt;&lt;TD&gt;Category TTL (Thus should including Company 1 as part of the sum)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Widgets&lt;/TD&gt;&lt;TD&gt;$25&lt;/TD&gt;&lt;TD&gt;$98&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Cords&lt;/TD&gt;&lt;TD&gt;$40&lt;/TD&gt;&lt;TD&gt;$182&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Tue, 22 Mar 2022 14:24:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-of-Sum-with-Filters-Which-is-right-DAX-to-use/m-p/2409797#M63431</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-22T14:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation of Sum with Filters - Which is right DAX to use?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-of-Sum-with-Filters-Which-is-right-DAX-to-use/m-p/2409909#M63449</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , Unpivot category and company in power query and try &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://radacad.com/pivot-and-unpivot-with-power-bi" target="_blank"&gt;https://radacad.com/pivot-and-unpivot-with-power-bi&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 14:59:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-of-Sum-with-Filters-Which-is-right-DAX-to-use/m-p/2409909#M63449</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-03-22T14:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation of Sum with Filters - Which is right DAX to use?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-of-Sum-with-Filters-Which-is-right-DAX-to-use/m-p/2409917#M63450</link>
      <description>&lt;P&gt;Category and company are both supplemental fields in the item master. The item id# and sales come from my weekly sales data imports and then are linked in a relationship.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 15:01:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-of-Sum-with-Filters-Which-is-right-DAX-to-use/m-p/2409917#M63450</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-22T15:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation of Sum with Filters - Which is right DAX to use?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-of-Sum-with-Filters-Which-is-right-DAX-to-use/m-p/2409940#M63455</link>
      <description>&lt;P&gt;sorry to clarify...&lt;/P&gt;&lt;P&gt;My Data Table Only Includes sales data not the deeper item description or manufacturer details:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Item Code&lt;/P&gt;&lt;P&gt;$ Sales&lt;/P&gt;&lt;P&gt;Week&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My Item Master Table Includes&lt;/P&gt;&lt;P&gt;Item Code (Key Field)&lt;/P&gt;&lt;P&gt;Manufacturer&lt;/P&gt;&lt;P&gt;Category&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 15:16:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-of-Sum-with-Filters-Which-is-right-DAX-to-use/m-p/2409940#M63455</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-22T15:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation of Sum with Filters - Which is right DAX to use?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-of-Sum-with-Filters-Which-is-right-DAX-to-use/m-p/2409946#M63457</link>
      <description>&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;I rearranged the model a bit, to make it easier.&lt;/P&gt;&lt;P&gt;&lt;A title="Category Sum" href="https://drive.google.com/file/d/1gBSzt8Ji9gQvrIweCKIB0uy8N5QLW5h4/view?usp=sharing" target="_self"&gt;https://drive.google.com/file/d/1gBSzt8Ji9gQvrIweCKIB0uy8N5QLW5h4/view?usp=sharing&lt;/A&gt;&amp;nbsp;&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;</description>
      <pubDate>Tue, 22 Mar 2022 15:19:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-of-Sum-with-Filters-Which-is-right-DAX-to-use/m-p/2409946#M63457</guid>
      <dc:creator>Whitewater100</dc:creator>
      <dc:date>2022-03-22T15:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation of Sum with Filters - Which is right DAX to use?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-of-Sum-with-Filters-Which-is-right-DAX-to-use/m-p/2410356#M63481</link>
      <description>&lt;P&gt;This helped! Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 18:19:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-of-Sum-with-Filters-Which-is-right-DAX-to-use/m-p/2410356#M63481</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-22T18:19:20Z</dc:date>
    </item>
  </channel>
</rss>

