If anyone can help me with this I would be super happy!
In Crystal Reports XI, I need to make a sum of distinct numbers.
For example, I have the following data:
1000
1000
1000
2000
2000
2000
3000
3000
3000
Now, I want to suppress duplicate data, so now it looks like:
1000
2000
3000
The data is suppressed, but it still exists. If I run a sum of the data, I get 18000 when I really only want 6000 (3000+2000+1000). If I doo a distinct count, I get the following:
Code:1000 1
1
1
2000 2
2
2
3000 3
3
3
So, I have a distinct count to work with, but I am totally not a programmer. I need a sum that gives me the correct addition that can be placed into a running total for each group...
I figure there has to be a way where the total can be compared to the distinct count and return a zero if it's duplicated... I have no idea how though.
I have been rather unsuccessful in finding a good answer for distinct sums in crystal reports.