Forum Discussion
Waqas_BIspecs
2 years agoFrequent Visitor
Help Needed
Hi, In the below image you can see i have a pallet_id_from column where there are multiple instances appearing against these in if_tran_code column. i was to create another calculated column where ...
- 2 years ago
Please try
Status =
IF (
"FO-LOAD"
IN CALCULATETABLE (
VALUES ( 'Table'[if_tran_code] ),
ALLEXCEPT ( 'Table', 'Table'[pallet_id_from] )
),
"Shipped"
) - 2 years ago
Yes you are right. The small sample of data was a little misleading. You need to add activity-date to ALLEXCEPT
Status =
IF (
"FO-LOAD"
IN CALCULATETABLE (
VALUES ( 'Table'[if_tran_code] ),
ALLEXCEPT ( 'Table', 'Table'[pallet_id_from], 'Table'[activity-date] )
),
"Shipped"
)
Waqas_BIspecs
2 years agoFrequent Visitor
Hi,
Its making everything "shipped"
- tamerj12 years agoCommunity Champion
Yes you are right. The small sample of data was a little misleading. You need to add activity-date to ALLEXCEPT
Status =
IF (
"FO-LOAD"
IN CALCULATETABLE (
VALUES ( 'Table'[if_tran_code] ),
ALLEXCEPT ( 'Table', 'Table'[pallet_id_from], 'Table'[activity-date] )
),
"Shipped"
)