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.
Hi erveryone,
I have an issue with a Cumulated total measure, the measure is the following :
CALCULATE(
SUM('Sales'[Number of sales]),
FILTER(ALLSELECTED('Sales'[Date]) ,'Sales'[Date]<=MAX('Sales'[Date])
))
The measure is working as long i'm not trying to filter my datas, when i do ( For exemple when i'm filtering on all the sales > 0$, which is always the case ), the measure is not cumulating anymore and results in something like this :
Date | Numbers of sales |
01/03/2021 | 56 |
02/03/2021 | 54 |
03/03/2021 | 78 |
04/03/2021 | 80 |
05/03/2021 | 0 |
06/03/2021 | 65 |
Does anyone have an idea where the problem might come from ?
Thanks !
Solved! Go to Solution.
@QS7 , The date you are using should be the date from sales in visual
try like
CALCULATE(
SUM('Sales'[Number of sales]),
FILTER(ALLSELECTED('Sales') ,'Sales'[Date]<=MAX('Sales'[Date])
))
@QS7 , The date you are using should be the date from sales in visual
try like
CALCULATE(
SUM('Sales'[Number of sales]),
FILTER(ALLSELECTED('Sales') ,'Sales'[Date]<=MAX('Sales'[Date])
))
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
26 | |
10 | |
10 | |
9 | |
6 |