Total of unknown categories in SSRS 2005

Posted by Lijo on Stack Overflow See other posts from Stack Overflow or by Lijo
Published on 2010-04-05T07:54:35Z Indexed on 2010/04/05 8:03 UTC
Read the original article Hit count: 344

Filed under:

Hi,

I am working with SSRS2005. I have requirement to display total in the footer. We have to display the total of each category. What I used to do is, write expression for all category names and hide those totals that are not having any value in the current selection.

Mango Count = sum(iif(fields!Category.Value = “Mango”,0,1)) Apple Count = sum(iif(fields!Category.Value = “Apple”,0,1))

However, in the new requirement, I don’t have the knowledge of categories. It could be any number of categories. Is it possible to write an expression for this?

Please help

Thanks

Lijo Cheeran Joseph

© Stack Overflow or respective owner

Related posts about ssrs-2005