COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: semsel on 21 Oct 2012 02:52:42 AM

Title: Time function in Excel 2007 format
Post by: semsel on 21 Oct 2012 02:52:42 AM
I am trying to display the current time using time function in the Report Header. It shows without any issues in the HTML and PDF formats. But in excel 2007, it shows error and asks to repair. " Excel found unreadable content in 'Report.xlsx'  Do you want to recover the contents of this workbbok? If you trust the sourceof this workbook, click yes. "
Title: Re: Time function in Excel 2007 format
Post by: Rahul Ganguli on 22 Oct 2012 01:29:58 AM
Can you please try to cast the date as String and check if it works well with Excel.
Title: Re: Time function in Excel 2007 format
Post by: mtirpude on 30 Oct 2012 06:06:00 AM
Hi,

Can you tell exactly which function you are using in Report header. Are you using AsOfTime() function there using layout calculations?
Please write teh exact function here so that we can do some research.

Regards,
Manish Tirpude | 919673990644
mtirpude@infocepts.com | www.infocepts.com
Title: Re: Time function in Excel 2007 format
Post by: semsel on 31 Oct 2012 12:12:06 AM
I jus dragged and dropped 'Time' from the toolbox. It is supposed to show the time during the report run
Title: Re: Time function in Excel 2007 format
Post by: mtirpude on 31 Oct 2012 12:43:00 AM
Hi,

I just dragged Time from toolbox in report header. I am able to run the report in excel 2007 format without any issues. I am using Cognos 10.1.1.

Regards,
Manish Tirpude
www.infocepts.com