简体   繁体   中英

SSRS Expression To Rename NULL Values

I am using Visual Studio 2012 for my SSRS Report.

I have a field called Root Cause in my Column Groups section (with 3 column groups underneath that column group umbrella), and it pulls in 4 fields Offense, Defense, Both, and NULL values. So the headers for those sections when I preview the report show up as Offense, Defense, Both and then where NULL should be...it's just a blank section.

My goal is to replace the blank section with text that says No Value or something along those lines, just not be blank.

How do I format the SSRS Expression for that box to do so?

尝试使用= IIF(IsNothing(Fields!RootCause.Value),“ No Value”,Fields!RootCause.Value)作为表达式。

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM