Forum Discussion
MP-iCONN
3 years agoResolver I
Matrix Table Filter issue
My scenario is I have a matrix table that consists of a the following rows: Work Order ID | Parent Item ID | Component Item ID | Required Date Then some other Values but the most import va...
- 3 years ago
Try this calculated column, which can be used as a matrix filter:
Work Order Status = VAR vWorkOrderID = Table1[Work Order ID] VAR vNegativeRows = FILTER ( Table1, Table1[Work Order ID] = vWorkOrderID && Table1[Available Comp] < 0 ) VAR vResult = IF ( ISEMPTY ( vNegativeRows ), "OK", "SHORT" ) RETURN vResult - Anonymous3 years ago
Hi MP-iCONN
You can create a new column:
Column = VAR A=FILTER('Table','Table'[Work Order]=EARLIER('Table'[Work Order])&&'Table'[Available]<0) RETURN IF(COUNTAX(A,[Work Order])>0,"Short","Ok")Best Regards,
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Vilmar
3 years agoResolver I
Veja se o anexo aqui ajuda.
Vou explicar:
- Esta é a receita para produzir o item P1212;
- O item P1212 tem pedido para dezembro (115 unidades) e janeiro (170 unidades);
- De todos seu componentes, só tem estoque para produzir em dezembro, pois o componente C1214 não vai ter saldo suficiente:
- Estoque: 1300
- Total dos pedidos: 10 x (115 + 170) = 2850