Hi,
I am facing a problem with Matrix control. My requirement is similar to the below problem.
The report should display Manager, Leaders under him, Members under leaders. The data is the working hours of members grouped by Month.
Manager Leader Member Jan Feb Mar Apr .....
M1 L1 E1 170 160 150 180
E2 159 161 130 185
E3 150 180 159 161
L2 E5 159 161 170 160
E6 159 161 130 185
E1 160 150 150 180
M2 L3 E5 150 180 159 161
L1 E1 160 150 150 180
I took Manager, Leader and Member Name columns as Row groups and Month of Working day as Column group. Working hours sum in Data Section. Every thing is working fine but some rows for same Manager are dividing into to parts and displaying as entries for seperate managers as below.
Manager Leader Member Jan Feb Mar Apr .....
M1 L1 E1 140 150 100 120
E2 119 149 50 120
E3 150 180 159 161
L2 E5 159 161 170 160
E6 159 161 130 185
E1 160 150 150 190
M1 L1 E1 30 10 50 60
E2 40 11 80 65
Is this any bug of Matrix control or is there any thing wrong in my design ?( I just dragged respective columns to row, column and data groups, nothing much). Are there any things i need to ensure ?
This could be caused by Manager fields not being exactly the same. There could be extra white space or a different case used for a character or two.Try using the following as the grouping expression.
"=Fields!FieldName.Value.Trim().ToLower()"
Ian|||It is working. Thank you very much.
No comments:
Post a Comment