March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
TotalOpenOrderAmount1 = CALCULATE ([OrderAmount]-[ShippedAmount], ALL(CalendarDate), OrderLineDetail[Status]="Open") TotalOpenOrderAmount2 = CALCULATE ([OrderAmount]-[ShippedAmount], ALL(CalendarDate), Filter(OrderLineDetail,OrderLineDetail[Status]="Open") )
TotalOpenOderAmount1 can be measured as expected.
But TotalOpenOrderAmount2 is still affected by Calendar filters on the report.
Why is that? Can someone help to explain it?
hi @kanielwang
Try this. It's the equivalent of TotalOpenOrderAmount1
TotalOpenOrderAmount2 = CALCULATE ([OrderAmount]-[ShippedAmount], ALL(CalendarDate), Filter(ALL(OrderLineDetail[Status]),OrderLineDetail[Status]="Open") )
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
User | Count |
---|---|
26 | |
16 | |
15 | |
12 | |
11 |
User | Count |
---|---|
32 | |
26 | |
24 | |
20 | |
14 |