Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Analysis Server and Reporting Services (2005)
 get specific value SSRS -expression

Author  Topic 

inbs
Aged Yak Warrior

860 Posts

Posted - 2010-12-15 : 04:13:25
=iif(Fields!Location.Value=2, Fields!CarID.Value, 0)

i have table Cars


i wrote this post in sql 2008 forum .

CarId Location Date
111 1 --
222 2 --
333 3 --


1.i put image as backgrouns
2.in the cells i put textbox with the expression
the problem is when i write the expression i get 0 instead 222
how can i get specific valuse
(in query i wtore :
SELECT CarId FROM Cars WHERE Location=2)
   

- Advertisement -