0

enter image description hereWhat DAX calculation to calculate the Sales $ Fulfilled where Is Originating Online Sales Store = "Y" and match the Fulfilling Location to Originating Location Meaning, any sales that were fulfilled through the Store, but originated online. In the attached image, the New Measure should be the expectation.

1
  • Depends. What is your schema, is it one table or do you have a proper star schema. Do you want a measure or a calculated column. Commented Aug 16 at 22:47

1 Answer 1

0

you can try this

Column =
IF (
    'Table'[Is Originating Online Sales Store] = "Y",
    BLANK (),
    MAXX (
        FILTER (
            'Table',
            'Table'[Date] = EARLIER ( 'Table'[Date] )
                && 'Table'[Location Name] = EARLIER ( 'Table'[Orinigating Location Name] )
        ),
        'Table'[Sales Fulfilled]
    )
)

enter image description here

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.