dbereza2009 Posted July 17, 2018 Share Posted July 17, 2018 Hello.I try to combain 2 field with some conditions by expression text and put them into one cell. ($F{kindobjbu} == null ? "": $F{kindobjbu}) +($F{kindflat} == 1 ? "Type_1" :$F{kindflat} == 2 ?"Type_2" :$F{kindflat}== null ? "" : "")The issue is that for first field ($F{kindobjbu}) report shows Null but not the blank "", like I made it in expression. Where is the problem? I try in other different ways but not succed. Link to comment Share on other sites More sharing options...
dbereza2009 Posted July 17, 2018 Author Share Posted July 17, 2018 I found solution ($F{kindobjbu}== null ? " ": $F{kindobjbu}) +($F{kindflat}== null ? " ": $F{kindflat}== 1 ? "Type1": $F{kindflat}== 2 ? "type2": $F{kindflat}) It's work correct.Also put this expression into variables. So I can filter values on this coloumn.Done! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now