Hi, My data looks like this in the details section of my report:
Description Area NDC(string) Onhands
Acetaminophen ED 123 1
Actaminophen ICU 1234 3
Acetaminophen ED 123 2
Acetaminophen 4W 12345 4
Acetaminophen TCU 222 5
Acetaminophen 3S 222 0
Bactrim ED 333 0
I need to add an X in a column when the Area is ED and onhands > 0. I also need to remove duplicate NDC's so that the data looks like this:
Description Area NDC(string) ED
Acetaminophen ED 123 X
Actaminophen ICU 1234
Acetaminophen 4W 12345
Acetaminophen TCU 222
Bactrim ED 333
I have added the formula for the 'X', but the formula I created in the section expert suppression formula, {TABLE.NDC} = next ({TABLE.NDC}) is not working, it suppresses some of the duplicate NDC rows but not all of them. I tried creating a formula for the NDC to make it a number and then used that for the suppression formula but that didn't work either.
Can you assist me with this please?
Description Area NDC(string) Onhands
Acetaminophen ED 123 1
Actaminophen ICU 1234 3
Acetaminophen ED 123 2
Acetaminophen 4W 12345 4
Acetaminophen TCU 222 5
Acetaminophen 3S 222 0
Bactrim ED 333 0
I need to add an X in a column when the Area is ED and onhands > 0. I also need to remove duplicate NDC's so that the data looks like this:
Description Area NDC(string) ED
Acetaminophen ED 123 X
Actaminophen ICU 1234
Acetaminophen 4W 12345
Acetaminophen TCU 222
Bactrim ED 333
I have added the formula for the 'X', but the formula I created in the section expert suppression formula, {TABLE.NDC} = next ({TABLE.NDC}) is not working, it suppresses some of the duplicate NDC rows but not all of them. I tried creating a formula for the NDC to make it a number and then used that for the suppression formula but that didn't work either.
Can you assist me with this please?