Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello, I am trying to add a calculated column to the dataset so that I can plot a line graph that shows cumulative total cost by week or month. It this possible given that there are several lines that makes the total for the week?
Solved! Go to Solution.
Hi, Thank you, I couldn't not make it work, but the following worked:
New Measure
Running Total=
CALCULATE(Sum(Table[Total Cost]),
ALL('Table'),Table[Work Date]<=EARLIER(Table[Work Date]))
Hello,
I am trying to develop a measure to calculate cumulative total for a specific year, in that case, for 2019. and I am doing this formula but I doesn't work:
none of these solutions work, when you do not want to use a date. I have an index column and it still doesnt work. I get the Earlier/Earliest refers to an earlier row which doesn't exist. error.
Basically something like this:
Cumulative Total = VAR myDate = MAX([Work Date]) VAR myMonth = MONTH(myDate) VAR tmpTable = FILTER(ALL(Table),[Month no.] <=myMonth) RETURN SUMX(tmpTable,[Total Cost])
Hi, Thank you, I couldn't not make it work, but the following worked:
New Measure
Running Total=
CALCULATE(Sum(Table[Total Cost]),
ALL('Table'),Table[Work Date]<=EARLIER(Table[Work Date]))
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
97 | |
85 | |
67 | |
59 |
User | Count |
---|---|
150 | |
120 | |
100 | |
87 | |
68 |