Implementing Running SUM in Power BI Visual Calculation (Part 1)
In this article, we will examine how to implement cumulative sales (Running Total) by brand utilizing the RUNNINGSUM function provided in Power BI Visual Calculations. In this example, we analyze the cumulative sales trend across brands based on consumer electronics sales data. 1. Example Data The brand names and sales data below are fictional data created solely for illustrative purposes and bear no relation to the actual sales performance of any company. Brand: Apple / Total Sales: $25,000 Brand: Samsung / Total Sales: $13,000 Brand: Sony / Total Sales: $5,000 Brand: Xiaomi / Total Sales: $3,500 Brand: LG / Total Sales: $1,500 Brand: Huawei / Total Sales: $1,200 Brand: Lenovo / Total Sales: $800 The purpose of this example is not simply to verify brand sales rankings. In practical business analytics, we must address the following strategic questions: "Do the top few brands account for the vast majority of overall r...