1

I have this sample table:

table

"Running Total" is a MEASURE (NOT a column), and I need to change this measure such that it works when the date column is filtered.

Current code for "Running Total", which generates the above output: Code for running total Issue with the code: It does not work when the "date" column is filtered using a slicer.

I need this output when the date filter is set to 2018-01-01-2023-01-01 for example:

table filtered

As you can see, 2017 dates are removed, therefore the "Running Total" measure is adjusted accordingly.

How to achieve this?

1 Answer 1

1

Replace ALL() with ALLSELECTED()

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.