title: Power BI - How to get running total and adding it along to your set of data
body: <p>I have a sample data set in Power BI. I was wondering if I could get a running total for Type A and adding it along with the original data?</p>
  
  <p>I have an example.</p>
  
  <p><strong>Here is the data.</strong></p>
  
  <p><a href="https://i.stack.imgur.com/yl71g.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yl71g.jpg" alt="table1"></a></p>
  
  <p>I created a matrix table in Power BI to view the data like this:</p>
  
  <p><a href="https://i.stack.imgur.com/tX01r.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tX01r.jpg" alt="table2"></a></p>
  
  <p><strong>I was wondering if I could add the running total to the same matrix table, as well as having a different value for "Type". Something like this.</strong></p>
  
  <p><a href="https://i.stack.imgur.com/KUlRo.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KUlRo.jpg" alt="table4"></a></p>
  
  <p>Please let me know if this is possible. I know how to get the running total using the CALCULATE function but I don't know how to add it to the table along with the original data.</p>