General information
Category:
Reports & Report designer
>>>>>I have a report with data grouping.
>>>>>How can I count the number of the groups?
>>>>>Thank you.
>>>>
>>>>add a variable to the report, set to count, reset at desired group.
>>>
>>>I don't want to count the number of records in one group bot the number of different groups in the whole report.
>>
>>
>>I found the solution.
>>We have to create two variables N1 and N2 with these parameters:
>>
>>
>> N1 N2
>>__________________________________________________________________
>>Value to store: 0 iif(N1=1,1,0)
>>Initial value: 0 0
>>Reset at: "name of the group" End of Report
>>Calculate: Count Sum
>>__________________________________________________________________
>>
>>Variable N2 is what we need.
>>
>>
>>Interesting, isn't it.
>
>And check Vlad Tatavu's solution using a public variable, too, from earlier in the thread.
Thank you very much for your help.
I have limited internet access so I didn't read all the messages.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only