Wednesday, March 27, 2013

SSRS 2008R2-Tablix report header not repeating



Error: Tablix report header not repeating

Solution: Follow the below steps to show report header in the tablix reports.

1. Go to the Column Groups and right click the triangle ->Then check the Advanced Mode.



2. Next Come to the Row Groups and Click F4 to see the properties.



3. Set the following properties in the tablix member as per the highlighted green colour box.

·         Fixed data to ‘True’
·         Keep with Group to 'After'
·         Repeat on New Page to 'True'


5. Then Save the report and Preview.

As expected, the report features like Repeat headers on Each Page and header visible while scrolling is working fine!

Thursday, March 21, 2013

Remove characters from left of string-SSRS 2008R2-Expression-Tablix Report



Scenario: I am looking to remove the characters value ‘SQL Server’ from the ‘SQL Server 9.00.4060.00’   in one column on the tablix report in SSRS report. How do we achieve that output?

Solution: Go to Business Intelligence (SSRS) ->File->New Project->Report server project.
Then Drag and Drop table control ->Drag and drop the required columns from the dataset (Set Query for fetching data) to show in the table report.
Next right click the data value of the specific column to change the expression as like below.


Then enter the expression values as like below.


=Right( Fields!products.Value, len(Fields!products.Value) - 10)


·         Fields!products.Value is the datavalue in the tablix column.
·         Right is used to remove the left side characters based on the second parameters value.
·         10 is the number of characters removed from the actual value.


Finally click ok.

Then preview the report as shown below. In the below tablix report output, SQL server is removed and only ‘2005 Service pack3 ‘is coming.

Output:






MYSQL:::Seamless Data Archiving: Exporting, Importing, and Pruning MySQL Tables

  Seamless Data Archiving: Exporting, Importing, and Pruning MySQL Tables Introduction: In the dynamic landscape of database management...