Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi! I'm looking for help on how to write a 'does not start with' DAX expression.
This is what I have right now, but doesn't seem to work:
Total Sales & Credit Memos =
CALCULATE(
[Total Amount],
(LEFT('CONSOL GLENTRY'[Document No_], 2) <> "GJ"
)
I'm looking to calculate all documents that 'do not' start with "GJ".
Any help would be appreciated!
Christina
Solved! Go to Solution.
@Anonymous wrap in MAX
Total Sales & Credit Memos =
CALCULATE(
[Total Amount],
(LEFT(MAX('CONSOL GLENTRY'[Document No_]), 2) <> "GJ"
)
@Anonymous wrap in MAX
Total Sales & Credit Memos =
CALCULATE(
[Total Amount],
(LEFT(MAX('CONSOL GLENTRY'[Document No_]), 2) <> "GJ"
)
hi @Anonymous
try like:
Total Sales & Credit Memos =
CALCULATE(
[Total Amount],
FILTER(
ALL('CONSOL GLENTRY'[Document No_]),
LEFT('CONSOL GLENTRY'[Document No_], 2) <> "GJ"
)
)
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
22 | |
7 | |
6 | |
6 | |
6 |
User | Count |
---|---|
27 | |
12 | |
10 | |
9 | |
6 |