0

NP(Difference) problem

Hi All,

I'm struggling with the old NP(Difference) function.
In the Job Ledger I find postings of resources of 2 categories with distinctive numbering (0-9999 for humans, FAC-* for machines).
I need to produce a report on manhours spent on projects without machines, so only using human resources.
So, in D5 I created a filter to find all projects with machine-hours:
NL("filter";"job ledger entry";"job no.";"no.";"FAC-*";"job no.";"<>''";"Global Dimension 2 Code";"JIP|MARKT")In D6 a filter yielding a list of all job no's with manhours AND machine-hours in 2011
NL("filter";"job ledger entry";"job no.";"posting date";"010111..311211";"type";"Resource")Now I want to know how much hours resource 0865 has spent on jobs NOT using machines, so in E8 is
=NL("rows";"job ledger entry";"quantity";"posting date";"010111..311211";"job no.";NP("Difference";$D$6;$D$5);"no.";"0865";"Global Dimension 2 Code";"MARKT|JIP")This returns a #VALUE error saying "Empty filter not allowed".
I checked the filters, and when separately run as rows statement, they produce exactly what I expect. Just combining them in NP won't work.

Where do I go wrong?

Willem

1 comment

Please sign in to leave a comment.