Link to home
Create AccountLog in
Avatar of Levi Martin
Levi MartinFlag for United States of America

asked on

SSRS 2005 decision function for number values.

In a SSRS 2005 report I am comming backw ith values of 'Infinity %'  & "NaN %" - - how can I write a statement in which I can substitute these results for '0 %' instead to avoid end user confusion.

Thanks Experts!
ASKER CERTIFIED SOLUTION
Avatar of SQL_SERVER_DBA
SQL_SERVER_DBA
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of Chris McGuigan
Switch is another function for this sort of stuff, but IIf is generally more useful.
Look them up in Books Online for exact syntax.

Cheers
Chris
Avatar of Levi Martin

ASKER

SQL SERVER DBA - - your idea worked like a charm...ideas on how I can capture something like "Infinity" or "NaN?

Thanks!
NM...OR worked just fine.

Thanks!