Hello
Can anyone help me on the below requirement. I have a table with below data.
S.No Name
1 ABC
2 ABC
3 XYZ
4 XYZ
5 XYZ
I want to get the total count of distinct values i.e., ABC = 2 and XYZ= 3. Is it possible in Report definition?
Thanks
Hello
Can anyone help me on the below requirement. I have a table with below data.
S.No Name
1 ABC
2 ABC
3 XYZ
4 XYZ
5 XYZ
I want to get the total count of distinct values i.e., ABC = 2 and XYZ= 3. Is it possible in Report definition?
Thanks
Hi @John Joseph: Yes it is possible. You can add 2 columns in the report (Name, S.No) and add summarize option as count for S.No column.
Thanks.
@ArulDevan . Thanks for your reply
S.No Name
1 ABC
2 ABC
3 XYZ
4 XYZ
5 XYZ
For the above example, S.No will be 5; whereas the requirement is, I need result as ABC = 2 and XYZ = 3
@John Joseph
Add Name twice as 2 column to your RD. Summarize one as count.
Result of report will give you counts of each Name values Infront of them, similar to what you are looking for.