<?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: Array sum measure based on values for other columns in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Array-sum-measure-based-on-values-for-other-columns/m-p/3448112#M131266</link>
    <description>&lt;P&gt;Your data model has a Dates table, and it is marked as such?&lt;/P&gt;</description>
    <pubDate>Tue, 26 Sep 2023 15:22:44 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2023-09-26T15:22:44Z</dc:date>
    <item>
      <title>Array sum measure based on values for other columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Array-sum-measure-based-on-values-for-other-columns/m-p/3446019#M131110</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to create a measure for the sum of values (call this, 'Data'[V]) for each unique value in a column (call this 'Data'[C]. I thought it would be best to avoid creating a new table, though I am unsure In example, i would like a table like this:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Date&lt;/TD&gt;&lt;TD&gt;Type&lt;/TD&gt;&lt;TD&gt;Value&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1-23&lt;/TD&gt;&lt;TD&gt;Profit&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1-23&lt;/TD&gt;&lt;TD&gt;Payable&lt;/TD&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1-23&lt;/TD&gt;&lt;TD&gt;Inventory&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2-23&lt;/TD&gt;&lt;TD&gt;Profit&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;to return:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Type&lt;/TD&gt;&lt;TD&gt;Value&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Profit&lt;/TD&gt;&lt;TD&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Inventory&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Payable&lt;/TD&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;However,&amp;nbsp;&lt;/STRONG&gt;there is currently also a single table used as a time horizon filter&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;MTD&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;YTD&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;YoY&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;and based on what the viewer chooses on the slicer with this data, performs a calculation based on the dates from the original table.&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 would like the grouped values from the top table to reflect the date filtering.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2023 13:30:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Array-sum-measure-based-on-values-for-other-columns/m-p/3446019#M131110</guid>
      <dc:creator>AustinP</dc:creator>
      <dc:date>2023-09-25T13:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: Array sum measure based on values for other columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Array-sum-measure-based-on-values-for-other-columns/m-p/3448112#M131266</link>
      <description>&lt;P&gt;Your data model has a Dates table, and it is marked as such?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2023 15:22:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Array-sum-measure-based-on-values-for-other-columns/m-p/3448112#M131266</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2023-09-26T15:22:44Z</dc:date>
    </item>
  </channel>
</rss>

