How to replace the date 31/12/1899 with an empty string in an Active Form- Please help

Post Reply
perj
Posts: 4
Joined: Thu May 25, 2017 5:23 am
OLAP Product: TM1
Version: 10.2
Excel Version: 2013

How to replace the date 31/12/1899 with an empty string in an Active Form- Please help

Post by perj »

Hi Team,

I am getting the value as '31/12/1899' in an active form for the date row.

Is there any way to remove this value with the an empty string using the formatting option of an Active Form?

Kindly help if you come across of anything.

Thanks.
declanr
MVP
Posts: 1831
Joined: Mon Dec 05, 2011 11:51 am
OLAP Product: Cognos TM1
Version: PA2.0 and most of the old ones
Excel Version: All of em
Location: Manchester, United Kingdom
Contact:

Re: How to replace the date 31/12/1899 with an empty string in an Active Form- Please help

Post by declanr »

You just need to utilise the excel formatting.
First option is for a positive value, second a negative and third a zero or blank.

So "dd-mm-yyyy;;" will return blanks where the date is zero (and if you somehow ended up with a negative date.)
Declan Rodger
Post Reply