After more thought on this, it's not "[SOLVED]". Here's the deal,
1) I need to get the shipping status at a summary level, only three statuses: 'Shipped', 'Not Shipped', and 'Partial', based on the status of multiple ORDERS for multiple PROJECTS. I was using the following code, based on the 'users documentation'.
Shipped_Status/A11=IF SHIP_STATUS NE 'Active' THEN 'Shipped'
ELSE IF SHIP_STATUS EQ 'Active' AND QTY_OPEN EQ 0 THEN 'Not Shipped'
ELSE IF SHIP_STATUS EQ 'Active' AND QTY_OPEN NE 0 THEN 'Partial' ;
-*'QTY_OPEN EQ 0' means that there are no more items to be shipped for this ORDER.
That's NOT working... Here's the user's Tableau code. They're referring to this as an "LOD Expression":
-* IF SHIP_STATUS="ACTIVE" THEN
-* IF QTY_OPEN=0 THEN 1 ELSE 0 END
-* ELSE 1 END
Posts: 3119 | Location: Tennessee, Nashville area | Registered: February 23, 2005