The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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") )
User | Count |
---|---|
16 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
25 | |
13 | |
12 | |
8 | |
8 |