Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Guys,
The following expression works, but How do I change the values in the list, to the list of selected values in a specific field?
=Sum( {$ < [SalesTargets.STMonth] = {'01', '02', '05'} > } SalesTargets.Quant)
=Sum( {$ < [SalesTargets.STMonth] = { IvMontNo } > } SalesTargets.Quant) I have tried this but it is not working.
Thanks in advance,
Aldo.
Hi,
P() is used in set analysis to get all possible values in one field while E() is used to get all excluded values for the specified field.
On the other hand, GetCurrentSelections will work, although if you use it for non-numeric fields you will need to quote values
chr(39) & GetFieldSelections(Field, chr(39) & ',' & chr(39), 12) & chr(39)
So the final result look like
'A', 'B', 'C'
Regards.
Hello Aldo,
You can use the following
=Sum( {$ < [SalesTargets.STMonth] = P(IvMontNo) > } SalesTargets.Quant)Hope that helps.
Hi there,
The following seems to be working:
=Sum( {<[SalesTargets.STMonth] = {$(=GetFieldSelections(IvMonthNo, ',',12))} >} SalesTargets.Quant)
Hi,
P() is used in set analysis to get all possible values in one field while E() is used to get all excluded values for the specified field.
On the other hand, GetCurrentSelections will work, although if you use it for non-numeric fields you will need to quote values
chr(39) & GetFieldSelections(Field, chr(39) & ',' & chr(39), 12) & chr(39)
So the final result look like
'A', 'B', 'C'
Regards.
Thanks man.