>>>Hi,
>>>
>>>I need to create a variable in a report that will count the number of distinct values. For example, if the report has a column EMPLOYEE_ID the variable should count how many employees are in the report. How? I tried to enter in the value to store "DISTINCT( EMPLOYEE_ID )" but it gives me error. TIA for any help.
>>
>>This is not simple using report variables. I suggest to add this field as pre-calculated in the Report.
>
>You mean to calculate the value before calling REPORT FORM? This is what I thought too. Thank you.
Yes, this is what I mean. I believe it's much simpler approach.
If it's not broken, fix it until it is.
My Blog