I want to get a specific row value from a specific dataset using the First
function in SSRS. The dataset returns values like:
From To Value
1 30 10
30 60 20
60 100 30
Also:
From
and To
and You can try this Expr in your textbox:
=First(Fields!FieldName.Value, "YourDataset")
Example:
=First(Fields!Name.Value, "GetName")
It worked for me.
This should work:
Use the parameter as two filters on the dataset, >= From
and < To
.
Then an expression in your text box like =First(Value.Value, "dataset")
.
You should first create a list (in order to relate to it a DataSet
).
Then, inside the list, put a textbox and define the following expression:
=First(Field!Value.Value)
This will do the job :)
SSRS is a reporting tool not an application. You can either write your queries or SP to receive the value before generating the report, or otherwise i would recommend an application with a exporting functionality (you can even manipulate this to use SSRS to export your final report). Third party tools like Telerik can also maybe help.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.