Power Pivot Running Total with multiple filters (category)

Yoga Fendi 20 Reputation points
2023-06-07T06:16:45.9166667+00:00

I have tried to run a calculate daxs (Running Total) for this table with power pivot measures, like below :

RunningTotal=

CALCULATE(SUM([AMOUNT]),FILTER(ALLSELECTED([DATE],[DATE]<=MAX([DATE]) && [GLACCOUNT] =MAX([GLACCOUNT]) && [IDSTORE]=MAX([IDSTORE]))))

But, output is ERROR.

tUser's image

Any expert who can help me, please :)

thank's alot for your attention..

Microsoft 365 and Office | Install, redeem, activate | For business | Windows
Microsoft 365 and Office | Excel | For business | Windows
0 comments No comments
{count} votes

Answer accepted by question author
  1. Tanay Prasad 2,255 Reputation points
    2023-06-07T07:09:41.2166667+00:00

    Hi,

    This seems to have a syntax error. Here's the corrected version of the expression:

    RunningTotal = CALCULATE( SUM([AMOUNT]), FILTER( ALLSELECTED([DATE]), [DATE] <= MAX([DATE]) && [GLACCOUNT] = MAX([GLACCOUNT]) && [IDSTORE] = MAX([IDSTORE]) ) )

    Please let me know if this works.

    Best Regards.


1 additional answer

Sort by: Most helpful
  1. Herbert Seidenberg 1,201 Reputation points
    2023-06-09T17:00:12.7166667+00:00

    Excel 365 Pro Plus with Power Pivot and Power Query.
    Running total.
    With PivotChart and Slicer.
    https://www.mediafire.com/file_premium/j5reog3exgntnem/06_09_23.xlsx/file
    https://www.mediafire.com/file_premium/nnt4v7i3epuvv6l/06_09_23.pdf/file

    1 person found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.