Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I would like to count all documents that have one parameter >= defined in variable
I did this:
=count({$<PARAMETER = {$(#vPARAMETER)}>} DISTINCT DOC_NO)
it works if I would like to count DOC_NO where PARAMETER = vPARAMETER, but I would like to count DOC_NO where PARAMETER >= vPARAMETER.
regards,
L
Try this:
=count({$<PARAMETER = {">=$(vPARAMETER)"}>} DISTINCT DOC_NO)
How about this:
=count({$<PARAMETER = {>= $(#vPARAMETER)}>} DISTINCT DOC_NO)
Try Onno's suggestion with some extra quotes...
=count({$<PARAMETER={'>=$(#vPARAMETER)'}>}DISTINCT DOC_NO)
Try this:
=count({$<PARAMETER = {">=$(vPARAMETER)"}>} DISTINCT DOC_NO)
Thanks, it works.:)
How about if I would like to add two dimmesions or modify vPARAMETER
example PARAMETER >= vPARAMETER - 360?
Probably this:
=count({$<PARAMETER = {">=$(=vPARAMETER-360)"}>} DISTINCT DOC_NO)
notice the "=" sign before vPARAMETER, it is essential here.
Magic! and if I would like to use another varaible instead of hardcode 360?
I guess, this:
=count({$<PARAMETER = {">=$(=vPARAMETER-vPARAMETER2)"}>} DISTINCT DOC_NO)
One more qestion, is it possible to use expresion with variable in argument of set something like:
=count({$<(PARAMETER - vPARAMETER3) = {">=$(vPARAMETER)"}>} DISTINCT DOC_NO)
The first part of the Set modifier is the field name.
I don't think you can do something like that.