sql server - Displaying first row data in Report Header -


i have report accepts empid parameter , list departments of employee. report run 1 employee @ time. list empid , empname in report result.

now, need display emp name in report header. understand can use second query fetch emp name. however, looking alternative approach can use list emp name without running different query (since have data in query result).

is there way in ssrs 2005?

expected result

enter image description here

you should able use first() function in expression snag first row of data dataset. may need order data, make sure you're getting right row, in situation may not necessary.

note first() scoped grouping level.


Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -