reporting services - How to manage odd record(s) in SSRS? -


my ssrs report dataset generates 6 colums shown below. report grouped repname. portfolio column populated either , b. regular name , b odd name. whenever there b, change background color of particular cell red , move odd record(s) top when report runs. tips appreciated.

repname    appid   dealername   buyername   amtfinc  portfolio 

conditional formatting of cell background

  1. right-click portfolio field access properties textbox properties

  2. open expression editor fill color: on fill tab fill color expression editor

  3. enter expression evaluate value of portfolio field , set color appropriate. fill color expression text


sorting

you have 2 options sorting results, either in dataset or in table/matrix on report. test see works best situation.

dataset sort

assuming column name portfolio in database, add following dataset query:

order portfolio desc; 

tablix sort

  1. right-click tablix in report design:

    tablix property

  2. set descending sort on portfolio field: enter image description here

keep in mind if want all rows portfolio value of b sort @ top of report, you'll need remove repname grouping. see sample output:

grouped

output grouped

not grouped

output not grouped


Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -