Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello everyone,
As you will see in the sample file, I want to show in a stacked column chart the running total sales and see the division by type of product (A and B).
For the "normal" facturation it works, but when I do it for running total facturation, the columns don't show the good result... The amount in February should be 240 and March should be 394 with 250 of type A and 144 of type B.
Thank you in advance for your help!
Solved! Go to Solution.
Hi @DM_BI
Create a column
month number = SWITCH([MONTH],"February",2,"March",3)
create a measure
Measure = CALCULATE(SUM([FACTURATION]),FILTER(ALLEXCEPT(Hoja1,Hoja1[Type]),[month number]<=MAX([month number])))
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @DM_BI
Create a column
month number = SWITCH([MONTH],"February",2,"March",3)
create a measure
Measure = CALCULATE(SUM([FACTURATION]),FILTER(ALLEXCEPT(Hoja1,Hoja1[Type]),[month number]<=MAX([month number])))
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you very much, it works perfectly! 🙂
Hello,
Sorry to bother you again but with this formula, my slicers don't work anymore. Do you have any solution to make my slicers work again)? They are not in the sample but I do have them and need them in my real report.
Thank you very much,
Dhania
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
74 | |
71 | |
38 | |
29 | |
27 |
User | Count |
---|---|
97 | |
96 | |
58 | |
44 | |
40 |