Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Shape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.

Reply
M_nwadibia
Resolver III
Resolver III

Expression to replace a value in ssrs

Please I need an expression to replace 9,999 in column 1 in SSRS. First column is named column1

 

M_nwadibia_0-1670265441940.png

 

1 ACCEPTED SOLUTION
d_gosbell
Super User
Super User

This is possible to do. You just need to right click on the field in your tablix control and then change the expression from something like:

 

=Fields!ID.Value

 

to something like this:

 

=iif(Fields!ID.Value=9999,"Unknown",Fields!ID.Value)

 

This is using an example column called "ID" you would need to change this based on the field name in your dataset.

View solution in original post

2 REPLIES 2
d_gosbell
Super User
Super User

This is possible to do. You just need to right click on the field in your tablix control and then change the expression from something like:

 

=Fields!ID.Value

 

to something like this:

 

=iif(Fields!ID.Value=9999,"Unknown",Fields!ID.Value)

 

This is using an example column called "ID" you would need to change this based on the field name in your dataset.

M_nwadibia
Resolver III
Resolver III

The value needed to replace 9999 is "Unknown". I have replaced the value with Unknown in SQL but when I apply filter in SSRS the numbering is not chronological. You can see below it doesnt show 3-9 in the field.

M_nwadibia_0-1670273290898.png

 

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.