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 August 31st. Request your voucher.
Hello Everybody,
I have this table
i want to create the yellow column that calculates a cummulative sum for payments per customer. Is this possible?
Solved! Go to Solution.
@chkapelis Try:
cumtotal column =
VAR __customer = [customer]
VAR __date = [date]
VAR __table = FILTER(ALL('Table'),[customer] = __customer && [date] <= __date)
VAR __result = SUMX(__table, [amount])
RETURN
__result
Based on this: Better Running Total - Microsoft Power BI Community
@chkapelis Try:
cumtotal column =
VAR __customer = [customer]
VAR __date = [date]
VAR __table = FILTER(ALL('Table'),[customer] = __customer && [date] <= __date)
VAR __result = SUMX(__table, [amount])
RETURN
__result
Based on this: Better Running Total - Microsoft Power BI Community
ok i will
User | Count |
---|---|
26 | |
12 | |
8 | |
8 | |
5 |
User | Count |
---|---|
30 | |
15 | |
12 | |
12 | |
7 |