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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

Top Solution Authors