Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dash instead of nothing

Status
Not open for further replies.

V2008

Programmer
Sep 11, 2008
37
US
I have a matrix whose column value is =Sum(iif(Fields!x.Value>0,Fields!x.Value,Nothing)) which is working, I can see row total and column total too.

But I want to display "-" if value is zero and still wants total.
 
I have never tried it (and not at a point where I could) have you tried nesting another iif? like =iif(Sum(iif(Fields!x.Value>0,Fields!x.Value,Nothing))=0,"-",Sum(iif(Fields!x.Value>0,Fields!x.Value,Nothing)) )

sorry - I am not at a place where I can confirm the format or the working - hopefully you get the idea...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top