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.
Author |
Topic |
nord
Posting Yak Master
126 Posts |
Posted - 2013-05-16 : 14:50:46
|
Hi,I have some report and i need to do column efficiency this is divide one column to another for ex a/b how i can write this because my 'b'column somethimes =0,I tried like that but did't work=IIF(Fields!Supply.Value<>0,(Fields!Sales.Value/Fields!Supply.Value,nothing)Thanks |
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2013-05-17 : 00:11:43
|
=(Fields!Sales.Value/IIF(Fields!Supply.Value<>0,Fields!Supply.Value,nothing))------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/https://www.facebook.com/VmBlogs |
|
|
nord
Posting Yak Master
126 Posts |
Posted - 2013-05-17 : 10:53:55
|
thanks |
|
|
|
|
|