{"id":769,"date":"2025-08-18T05:29:05","date_gmt":"2025-08-18T05:29:05","guid":{"rendered":"https:\/\/datadandies.nl\/?p=769"},"modified":"2025-09-19T07:55:34","modified_gmt":"2025-09-19T07:55:34","slug":"calculate-running-total-in-power-bi-method-2-using-a-measure","status":"publish","type":"post","link":"https:\/\/datadandies.nl\/index.php\/2025\/08\/18\/calculate-running-total-in-power-bi-method-2-using-a-measure\/","title":{"rendered":"Calculate running total in Power BI &#8211; Method 2 &#8211; Using a measure and CALCULATE"},"content":{"rendered":"\n<p>In the last post we calculated the running total of bank account transactions (withdrawals and deposits) using a calculated column in Power BI. In the image below we use a measure with the function CALCULATE.<\/p>\n\n\n\n<p>Zooming in on the RunningBalanceCalculate value of &#8220;1300&#8221;. The first three rows adhere to the filter condition &#8220;&lt;= _Date&#8221; and also the filter condition &#8220;= _Account&#8221;. After all, the dates of the first three rows are all smaller than 8\/3\/2025 and they all share the account &#8220;A&#8221;. <\/p>\n\n\n\n<p>The same dynamic goes for the values produced by the measure RunningBalanceCalculate. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"650\" src=\"https:\/\/datadandies.nl\/wp-content\/uploads\/2025\/08\/Power-BI-bankaccounts-cumulative-total-measure-with-CALCULATE-1024x650.png\" alt=\"\" class=\"wp-image-770\" srcset=\"https:\/\/datadandies.nl\/wp-content\/uploads\/2025\/08\/Power-BI-bankaccounts-cumulative-total-measure-with-CALCULATE-1024x650.png 1024w, https:\/\/datadandies.nl\/wp-content\/uploads\/2025\/08\/Power-BI-bankaccounts-cumulative-total-measure-with-CALCULATE-300x190.png 300w, https:\/\/datadandies.nl\/wp-content\/uploads\/2025\/08\/Power-BI-bankaccounts-cumulative-total-measure-with-CALCULATE-768x487.png 768w, https:\/\/datadandies.nl\/wp-content\/uploads\/2025\/08\/Power-BI-bankaccounts-cumulative-total-measure-with-CALCULATE-1536x974.png 1536w, https:\/\/datadandies.nl\/wp-content\/uploads\/2025\/08\/Power-BI-bankaccounts-cumulative-total-measure-with-CALCULATE.png 1761w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>In the last post we calculated the running total of bank account transactions (withdrawals and deposits) using a calculated column in Power BI. In the image below we use a measure with the function CALCULATE. Zooming in on the RunningBalanceCalculate value of &#8220;1300&#8221;. The first three rows adhere to the filter condition &#8220;&lt;= _Date&#8221; and&hellip;<\/p>\n<p class=\"more-link\"><a href=\"https:\/\/datadandies.nl\/index.php\/2025\/08\/18\/calculate-running-total-in-power-bi-method-2-using-a-measure\/\" class=\"themebutton\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[6,3],"class_list":["post-769","post","type-post","status-publish","format-standard","hentry","category-blog","tag-dax","tag-powerbi"],"_links":{"self":[{"href":"https:\/\/datadandies.nl\/index.php\/wp-json\/wp\/v2\/posts\/769","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/datadandies.nl\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/datadandies.nl\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/datadandies.nl\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/datadandies.nl\/index.php\/wp-json\/wp\/v2\/comments?post=769"}],"version-history":[{"count":2,"href":"https:\/\/datadandies.nl\/index.php\/wp-json\/wp\/v2\/posts\/769\/revisions"}],"predecessor-version":[{"id":773,"href":"https:\/\/datadandies.nl\/index.php\/wp-json\/wp\/v2\/posts\/769\/revisions\/773"}],"wp:attachment":[{"href":"https:\/\/datadandies.nl\/index.php\/wp-json\/wp\/v2\/media?parent=769"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/datadandies.nl\/index.php\/wp-json\/wp\/v2\/categories?post=769"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/datadandies.nl\/index.php\/wp-json\/wp\/v2\/tags?post=769"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}