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..

Office
Office
A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.
1,760 questions
Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
2,004 questions
Office Management
Office Management
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Management: The act or process of organizing, handling, directing or controlling something.
2,205 questions
Excel Management
Excel Management
Excel: A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.Management: The act or process of organizing, handling, directing or controlling something.
1,735 questions
0 comments No comments
{count} votes

Accepted answer
  1. Tanay Prasad 2,140 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,191 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 Answers by the question author, which helps users to know the answer solved the author's problem.