<?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: Table for Running Total per Product and Sales Person in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Table-for-Running-Total-per-Product-and-Sales-Person/m-p/3230993#M118554</link>
    <description>&lt;P&gt;Please refer to here&amp;nbsp;&lt;A href="https://www.sqlbi.com/articles/computing-running-totals-in-dax/" target="_blank"&gt;https://www.sqlbi.com/articles/computing-running-totals-in-dax/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 11 May 2023 14:12:21 GMT</pubDate>
    <dc:creator>PoweredOut</dc:creator>
    <dc:date>2023-05-11T14:12:21Z</dc:date>
    <item>
      <title>Table for Running Total per Product and Sales Person</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Table-for-Running-Total-per-Product-and-Sales-Person/m-p/3230594#M118522</link>
      <description>&lt;P&gt;Hi All !!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have some, maybe easy for you case &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My data looks like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;table: SALES&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;It has many columns, but columns that are relevant looks like this&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;columns: Date, Sales Person, Product Person ID (unique), Units Sold&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;I need to create &lt;STRONG&gt;Measure&amp;nbsp;&lt;/STRONG&gt;like in a screenshot.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alternatively I would like to have it as a separate table, cut it out from sales with this new calculation ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone could help me please.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 10:45:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Table-for-Running-Total-per-Product-and-Sales-Person/m-p/3230594#M118522</guid>
      <dc:creator>DagmaraG</dc:creator>
      <dc:date>2023-05-11T10:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: Table for Running Total per Product and Sales Person</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Table-for-Running-Total-per-Product-and-Sales-Person/m-p/3230993#M118554</link>
      <description>&lt;P&gt;Please refer to here&amp;nbsp;&lt;A href="https://www.sqlbi.com/articles/computing-running-totals-in-dax/" target="_blank"&gt;https://www.sqlbi.com/articles/computing-running-totals-in-dax/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 14:12:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Table-for-Running-Total-per-Product-and-Sales-Person/m-p/3230993#M118554</guid>
      <dc:creator>PoweredOut</dc:creator>
      <dc:date>2023-05-11T14:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: Table for Running Total per Product and Sales Person</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Table-for-Running-Total-per-Product-and-Sales-Person/m-p/3230998#M118557</link>
      <description>&lt;P&gt;You could try&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Running Total =
CALCULATE (
    SUM ( Sales[Units sold] ),
    WINDOW (
        1,
        ABS,
        0,
        REL,
        Sales,
        ORDERBY ( Sales[Date], ASC ),
        PARTITIONBY ( Sales[Sales person], Sales[Product Person ID] )
    )
)
&lt;/LI-CODE&gt;
&lt;P&gt;You would need to have a column in the data which uniquely identifies a row. If you don't have one you could use Power Query to add an Index column, and you would need to mark that as the key column in the modelling view.&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 14:14:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Table-for-Running-Total-per-Product-and-Sales-Person/m-p/3230998#M118557</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2023-05-11T14:14:05Z</dc:date>
    </item>
  </channel>
</rss>

