The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Good Afternoon,
I have the following volumes in the given times:
09:30:00 = 5000
09:45:00 = 100
10:00:00 = 1000
I want to display this values as an aggregation of the actual value with the earlier value, being this way>
09:30:00 = 5000
09:45:00 = 5100
10:00:00 = 6100
and so on ...
Is that possible?
Ps: my time value is a string value.
Solved! Go to Solution.
That looks like a simple cummulative sum. A calculation like the following should work:
Cummulative Volume = CALCULATE( SUM(table1[Volume]) , FILTER( All( table1[Time] ), table1[Time] <= MAX( table1[Time] ) )
I'm not sure if you can do MAX over string values, this used to be an issue in earlier versions of the engine. If so you may need to convert your time to a datetime data type.
That looks like a simple cummulative sum. A calculation like the following should work:
Cummulative Volume = CALCULATE( SUM(table1[Volume]) , FILTER( All( table1[Time] ), table1[Time] <= MAX( table1[Time] ) )
I'm not sure if you can do MAX over string values, this used to be an issue in earlier versions of the engine. If so you may need to convert your time to a datetime data type.
User | Count |
---|---|
65 | |
60 | |
55 | |
54 | |
31 |
User | Count |
---|---|
180 | |
88 | |
70 | |
46 | |
46 |