NaN formula

Jsdeloria21
Frequent Contributor

NaN formula

Hi,

Please see attachment for my inquiry.

 

Appreciate the help on this.

 

Regards,

4 ACCEPTED SOLUTIONS

Accepted Solutions
kavinkumar
Certified Master Anaplanner

Re: NaN formula

HI,

 

Try to put If condition in your target line item. Please see below screen shot attached.

 

NaN formula.PNG

Here I made number formatted , zero format Blank.

Let me know if you have any concerns. I hope this solves your problem.

 

Thanks,

Kavin.

Regards,
Kavin.

View solution in original post

VIGNESH.M
Certified Master Anaplanner

Re: NaN formula

Hi,

 

Create a line item(Number Format), then Use the below logic,

 

Logic,

 IF ISBLANK(TEXT(Rank)) THEN 0 ELSE Rank

 

Photo1.png.jpg

Rank is my source line item in my example, Rank final is FInal Value.

In your example, Forzen TAT is Source.

 

if you dont want to see "0" in final value, change the zero format to Blank.Photo1.png.jpg.

 

~Vignesh

View solution in original post

nikolay_denisov
Certified Master Anaplanner

Re: NaN formula

Hi, I would recommend to use following formula for Frozen TAT:

 

FROZEN TAT = if isblank('FROZEN START DATE') or isblank('UNFREEZE DATE') then 0 else'UNFREEZE DATE' -  'FROZEN START DATE'

 

FROZEN TAT number format should be "blank" for zero formats

View solution in original post

alexpavel
Certified Master Anaplanner

Re: NaN formula

Hi, 

 

Just to share with you an easy way that one of my colleagues had to check NaN values and transform it in zero. 

 

if abs(value(Text line item)) >= 0 then value(Text line item) else 0

 

Hope it helps!

Ciao

Alex

 

View solution in original post

5 REPLIES 5
kavinkumar
Certified Master Anaplanner

Re: NaN formula

HI,

 

Try to put If condition in your target line item. Please see below screen shot attached.

 

NaN formula.PNG

Here I made number formatted , zero format Blank.

Let me know if you have any concerns. I hope this solves your problem.

 

Thanks,

Kavin.

Regards,
Kavin.

View solution in original post

VIGNESH.M
Certified Master Anaplanner

Re: NaN formula

Hi,

 

Create a line item(Number Format), then Use the below logic,

 

Logic,

 IF ISBLANK(TEXT(Rank)) THEN 0 ELSE Rank

 

Photo1.png.jpg

Rank is my source line item in my example, Rank final is FInal Value.

In your example, Forzen TAT is Source.

 

if you dont want to see "0" in final value, change the zero format to Blank.Photo1.png.jpg.

 

~Vignesh

View solution in original post

Jsdeloria21
Frequent Contributor

Re: NaN formula

Hi Vignesh, 

 

Thank you for the reply, I will try to re-create it using your approach.

 

Regards,

nikolay_denisov
Certified Master Anaplanner

Re: NaN formula

Hi, I would recommend to use following formula for Frozen TAT:

 

FROZEN TAT = if isblank('FROZEN START DATE') or isblank('UNFREEZE DATE') then 0 else'UNFREEZE DATE' -  'FROZEN START DATE'

 

FROZEN TAT number format should be "blank" for zero formats

View solution in original post

alexpavel
Certified Master Anaplanner

Re: NaN formula

Hi, 

 

Just to share with you an easy way that one of my colleagues had to check NaN values and transform it in zero. 

 

if abs(value(Text line item)) >= 0 then value(Text line item) else 0

 

Hope it helps!

Ciao

Alex

 

View solution in original post