all groups > sql server reporting services > may 2007 >
You're in the

sql server reporting services

group:

Need Help! New to reporting services


Need Help! New to reporting services Samyra
5/15/2007 3:48:01 PM
sql server reporting services:
I need to populate a detail cell in a table report with 0 if the value of a
group cell in the report is > 500000. I've created on iif statement and it
works great when pulling data into the cell from the query. However, I need
to know how to call the value of a specific table cell into the iif statement.

=iif(Value of group cell in table report > 500000, 0,
iif(Fields!AssetCost.Value < 5000, "0",
iif(Fields!AssetCost.value <= 100000, fields!AssetCost.Value*.01, "0")))
RE: Need Help! New to reporting services Michael C
5/15/2007 4:21:02 PM

IIf(ReportItems!YourItem.Value>500000,0,False)

Michael


[quoted text, click to view]
AddThis Social Bookmark Button