The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi all,
I've looked at several other posts answering similar questions but can't find exactly what I need. Basically, I have a column for Index (starting at 1), and a column for quantity of items. I want to do a running total of the quantity based on the Index column - but it needs to be in a calculated column rather than a measure as I need to use the column itsself for an additional analysis in a bit. I have tried the following, but it doesn't work -
Solved! Go to Solution.
Hi @Thigs
for a calculated column you can use
Cumulative Total =
SUMX (
FILTER ( 'Data', 'Data'[Index] <= EARLIER ( 'Data'[Index] ) ),
'Data'[QtyPicked]
)
Hi @Thigs
for a calculated column you can use
Cumulative Total =
SUMX (
FILTER ( 'Data', 'Data'[Index] <= EARLIER ( 'Data'[Index] ) ),
'Data'[QtyPicked]
)
User | Count |
---|---|
24 | |
10 | |
8 | |
7 | |
6 |
User | Count |
---|---|
31 | |
12 | |
10 | |
10 | |
9 |