CR 11, Oracle 11
I'm having trouble getting a Qty formula to show properly, including in a drill-down. I've tried various ways - Running Totals & formulas with WhilePrintingRecords/Shared NumberVar and I can get the Qty values correct when I just show each group footer but when I hide these and drill-down the Qty value is always zero.
I have 5 groups:
DETAILS
GF5 = OrderNo
GF4 = PartNo
GF3 = P
GF2 = D
GF1 = C
Sample Data:
CAT OrderNo PartNo P D C Hrs $ Qty
A 123 abc Y 1 e 4.5 0 1
A 123 abc Y 2 e 2.5 0 1
B 123 abc Y 1 e 0 100 1
C 123 abc Y null null null null 1
C 123 abc Y null null null null 1
A 456 abc Y 1 e 4.5 0 1
A 456 abc Y 2 e 3.0 0 1
B 456 abc Y 1 e 0 250 2
C 456 abc Y null null null null 3
I have a formula in the Details for QT: if {example\\.CAT}='C' THEN {example\\.Qty}
Results I want to see on drill down:
OrderNo PartNo P D C Hrs $ QT
GF5 123 abc 7.0 100 2
GF5 456 abc 7.5 250 3
GF4 abc 14.5 350 5
GF3 Y 14.5 350 5
GF2 1 9.0 350 5
GF2 2 5.5 0 5
GF1 e 14.5 350 5
I'm having trouble getting a Qty formula to show properly, including in a drill-down. I've tried various ways - Running Totals & formulas with WhilePrintingRecords/Shared NumberVar and I can get the Qty values correct when I just show each group footer but when I hide these and drill-down the Qty value is always zero.
I have 5 groups:
DETAILS
GF5 = OrderNo
GF4 = PartNo
GF3 = P
GF2 = D
GF1 = C
Sample Data:
CAT OrderNo PartNo P D C Hrs $ Qty
A 123 abc Y 1 e 4.5 0 1
A 123 abc Y 2 e 2.5 0 1
B 123 abc Y 1 e 0 100 1
C 123 abc Y null null null null 1
C 123 abc Y null null null null 1
A 456 abc Y 1 e 4.5 0 1
A 456 abc Y 2 e 3.0 0 1
B 456 abc Y 1 e 0 250 2
C 456 abc Y null null null null 3
I have a formula in the Details for QT: if {example\\.CAT}='C' THEN {example\\.Qty}
Results I want to see on drill down:
OrderNo PartNo P D C Hrs $ QT
GF5 123 abc 7.0 100 2
GF5 456 abc 7.5 250 3
GF4 abc 14.5 350 5
GF3 Y 14.5 350 5
GF2 1 9.0 350 5
GF2 2 5.5 0 5
GF1 e 14.5 350 5