http://www.simple-talk.com/community/blogs/andras/archive/2007/09/14/37265.aspx
http://www.tsqltutorials.com/pivot.php
PS: For more complex Queries, inner SQL's Group By are important and you might also need to use Sum in inner SQL
Quite Straight forward:
- Select the Column , Right Click -> Propoerties OR hit F4
- Visibility -> Hidden -> Expression i.e. Click on Hidden under Visibility and select Expression from Drop Down
- Write the expression e,g.
=IIF(Parameters!MonthlyOrYearly.Value.Equals("Monthly"),false,true)
compared to FormatDateTime Good old 'Format' function makes the job a lot easier :
- Format(Fields!ResultDate.Value,"M/d/yyyy")
- Format(Fields!ResultDate.Value,"yyyy")
=IIF(Parameters!MonthlyOrYearly.Value.Equals(Monthly"),Format(Fields!ResultDate.Value,"M/d/yyyy"),Format(Fields!ResultDate.Value,"yyyy"))