dbTalk Databases Forums  

how can I test for NaN (not a number)?

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss how can I test for NaN (not a number)? in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
billd
 
Posts: n/a

Default how can I test for NaN (not a number)? - 01-11-2006 , 01:36 PM






Can someone give me an example of testing for NaN?

I want to do something like this:

member [measures].[mv] as 'iif([measures].[measure
value]=NaN,0,[measures].[measure value])'

Thanks,
Bill




Reply With Quote
  #2  
Old   
Milind
 
Posts: n/a

Default Re: how can I test for NaN (not a number)? - 01-12-2006 , 08:09 AM






Try VBA!IsNumeric([measures].[measure value])

HTH

Milind


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.