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.
I'm trying to calculate a running total of values for rows that only contain the specific text string of another column. Below is the formula I am using, but the results are just the totals for each month, instead of a cumulative total.
Solved! Go to Solution.
Hello @jsims586,
Here's an updated formula that should give you the result you're looking for:
EW Running Total =
VAR SelectedDates = ALLSELECTED(Dates[Date])
RETURN
CALCULATE(
SUM(GL_Detail[Gross_88ths_Value]),
GL_Detail,
CONTAINSSTRING(GL_Detail[AFE_Code], "EW"),
FILTER(
ALLSELECTED(Dates[Date]),
Dates[Date] <= MAX(SelectedDates)
)
)
Let me know if you might need further assistance.
Hello @jsims586,
Here's an updated formula that should give you the result you're looking for:
EW Running Total =
VAR SelectedDates = ALLSELECTED(Dates[Date])
RETURN
CALCULATE(
SUM(GL_Detail[Gross_88ths_Value]),
GL_Detail,
CONTAINSSTRING(GL_Detail[AFE_Code], "EW"),
FILTER(
ALLSELECTED(Dates[Date]),
Dates[Date] <= MAX(SelectedDates)
)
)
Let me know if you might need further assistance.
User | Count |
---|---|
65 | |
61 | |
60 | |
53 | |
30 |
User | Count |
---|---|
181 | |
83 | |
68 | |
49 | |
46 |