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 2008 Forums
 Analysis Server and Reporting Services (2008)
 get the value

Author  Topic 

inbs
Aged Yak Warrior

860 Posts

Posted - 2010-12-15 : 02:47:58
=iif(Fields!Location.Value=2, Fields!CarID.Value, 0)

i have table Cars

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


1.i put image as backgrouns
2.in the cell 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 -