Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Analysis Server and Reporting Services (2005)
 SSRS Percentage on fields issues

Author  Topic 

MikeSQL
Starting Member

7 Posts

Posted - 2011-06-23 : 07:52:09
Hi
I have a product matrix that needs a percentage calculation based on each product sub-total. At the moment I can only get a % based on the matrix total not each column. So Product 1 for Supplier A currently shows 11% when it should be 17%.

Any help would be appreciated. Matrix and Expression currently looks like this:

Product 1 % Product 2 % Product 3 % Total
Supplier A 2 17% 2 50% 1 50% 5
Supplier B 4 33% 1 25% 1 50% 6
Supplier C 6 50% 1 25% 0 0% 7
Total 12 4 2 18

=Count(Fields!Product.value)/Count(Fields!Product.value,"Product_Matrix")

Thanks!

LarryC74
Yak Posting Veteran

94 Posts

Posted - 2011-07-27 : 15:09:48
Have you got this figured out?

What's the name of the "total" text box?

Maybe try something like:
=Count(Fields!Product.value)/ReportItems!Totaltxtboxname.value

Everyday life brings me back to reality
Go to Top of Page

MikeSQL
Starting Member

7 Posts

Posted - 2011-07-28 : 03:53:56
Forgotten that I posted this!

Yes I did resolve the problem, exactly as you have detailed.

Many thanks for the reply though.
Go to Top of Page
   

- Advertisement -