Forum Discussion
nandvroe
8 years agoFrequent Visitor
Assistance with Dax Formula
I am in need of some assistance with a Dax formula. I have tried several variations of the formula below: TotalPending = CALCULATE(SUM(SalesOrderLines[Net amount]), (SalesOrderLines[Line status]...
- 8 years ago
Thanks to your help, I was able to get the Dax syntax that I needed. The formula that seems to be working is:
TotalPending2 =
CALCULATE (
SUM ( SalesOrderLines[Net amount] ),
SalesOrderLines[Line status] <> "Invoiced",
ALLEXCEPT (SalesOrderLines,SalesOrderLines[Customer]), FILTER ( ALL ( SalesOrderLines[Created date] ), [Created date] <= [LastD] )
)Again, I'm finding the All and the AllExcept a little confusing. Thank you again for your help.