Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hi.
I've created a working DAX formula, that I now need to add an additional filter to.
Working:-
Solved! Go to Solution.
Sorry I see it now! You can only have one filter directly inside TOTALMTD which is why your first one uses calculate.
Try:
ReleasedOrderAmount MTD =
CALCULATE (
TOTALMTD ( SUM ( SalesOrder[LineAmountLCY] ), SalesOrder[OrderDate] ),
USERELATIONSHIP ( SalesOrder[No], Items[No] ),
FILTER ( SalesOrder, SalesOrder[Status] = "Released" )
)
+ CALCULATE (
TOTALMTD (
SUM ( SalesOrderArchive[LineAmountLCY] ),
SalesOrderArchive[DocumentDate],
USERELATIONSHIP ( SalesOrderArchive[No], Items[No] )
),
FILTER ( SalesOrderArchiveHdr, SalesOrderArchiveHdr[No] > "SO01612" )
)
Hi. Thanks for the reply.
I don't think its quite right as my error has now changed to the sections highlighted and underlined in red:=
Sorry I see it now! You can only have one filter directly inside TOTALMTD which is why your first one uses calculate.
Try:
ReleasedOrderAmount MTD =
CALCULATE (
TOTALMTD ( SUM ( SalesOrder[LineAmountLCY] ), SalesOrder[OrderDate] ),
USERELATIONSHIP ( SalesOrder[No], Items[No] ),
FILTER ( SalesOrder, SalesOrder[Status] = "Released" )
)
+ CALCULATE (
TOTALMTD (
SUM ( SalesOrderArchive[LineAmountLCY] ),
SalesOrderArchive[DocumentDate],
USERELATIONSHIP ( SalesOrderArchive[No], Items[No] )
),
FILTER ( SalesOrderArchiveHdr, SalesOrderArchiveHdr[No] > "SO01612" )
)
Spot on.
Thanks!
User | Count |
---|---|
11 | |
9 | |
8 | |
7 | |
5 |
User | Count |
---|---|
24 | |
16 | |
15 | |
10 | |
7 |