sql server 2008 - SSRS Matrix Reports (Calculated Fields) -


Please see the Matrix report before and after running it.

Enter the image details here

How to get the percentage, for example: 2/6 = 0.3 (% 33)

The expression can be used in female gender in comparison to the number of members in the group / male column to calculate each gender in that group:

Male

  = yoga (IIF (field! Value = "m", 1, 0)) / count (field! Member.value)   

Women

  = Sum (IIf (field! Gender = value = "f", 1, 0)) / calculation (field! Member.value)   

This is happening to the total male or female members The percentage of total member count is found in the scope.

Comments

Popular posts from this blog

asp.net - Procedure or function "Procedure name" expects a parameter "Param name" which was not supplied occurs rarely -

c# - The item with identity 'Id' already exists in the metadata collection. Parameter name: item -

c++ - Redefined variable in the other module -