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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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