One of missing features is highlighting selected row. Highlighting selected row is very useful in master-detail reports. By clicking on a master row the detail report is being refreshed. User want to see which master row is currently selected. In this post I show how to highlight selected row on report in SSRS.
The final effect will look like on this screen-shot.
You might also watch a video how it works:
Highlighting selected row in Reporting Services report
I use Report Builder 3.0 for this tutorial. I assume that you have already created a master-detail report and you only need to add highlighting. If you don't have the master-detail report you can follow this tutorial: http://www.codeproject.com/Articles/270924/Master-Details-Report-in-SSRS Lets say you have a master report with dsMaster data set and a detail report with dsDetail data set. Also you have a parameter, lets say @masterRowId. This parameter is used to pass a value from the master report to a child report, so the child knows which records to display.Now it is time to add highlighting selected row to the master report:
- Right click on dsMaster data set and choose Dataset Properties
- Click on Parameters tab
- Add parameter - @masterRowId and assign it value of -1 (or any dumb value which is not present in your master table)
- Click Ok to close the Properties
- Select data row in the master report by right clicking on the row indicator
- In Properties window locate BackgroundColor setting
- Expand the list of possible values for the BackgroundColor setting and choose the last - Expression
- Enter following formula:
- Click Ok, save reports.
Step 8 - Enter the formula.... There is no formula :)
ReplyDeleteWhat is the formula?
ReplyDeleteI also cannot see the formula.
ReplyDeleteformula is visible if you view page source:
ReplyDelete=IIf(Fields!DSMasterRowId.Value = Parameters!masterRowId.Value, "Plum", "White")
How to make money with a crypto casino - Worktomakemoney
ReplyDeleteHow to make money 제왕카지노 with crypto casino casino. A bettor who wants to งานออนไลน์ make money with cryptocurrencies is deccasino going to start making money in crypto casinos.
M&M Casino in Tunica, Mississippi
ReplyDeleteM&M Casino 전라북도 출장안마 in Tunica, Mississippi is 청주 출장마사지 located in the beautiful 고양 출장마사지 M&M Casino in Robinsonville, Mississippi and is open daily 24 hours. The casino's 광주 출장샵 15,000 square foot gaming 화성 출장샵