COUNTIF not working in TM1 Web ActiveSheets

Post Reply
LoganNSE
Posts: 22
Joined: Fri Nov 18, 2011 10:19 am
OLAP Product: TM1
Version: 9.5.2
Excel Version: 2003 2007

COUNTIF not working in TM1 Web ActiveSheets

Post by LoganNSE »

Hi,

We have below calculation to calculate number of cells in BX column with specific text (starting with 'Item' or 'Please') and is working fine in Excel however when we view the count in TM1 web - it always displays '0' (TM1 9.5.2 / Excel: 2003)

= SUM(COUNTIF($BX:$BX, "Item*"), COUNTIF($BX:$BX, "Please*"))

This works fine and I can see total count in Excel but not in TM1 Web.

Do i have to turn-on anything to make COUNTIF work in TM1 Web? or is there anything should be done?

Thanks & Regards,
Logan
User avatar
qml
MVP
Posts: 1096
Joined: Mon Feb 01, 2010 1:01 pm
OLAP Product: TM1 / Planning Analytics
Version: 2.0.9 and all previous
Excel Version: 2007 - 2016
Location: London, UK, Europe

Re: COUNTIF not working in TM1 Web ActiveSheets

Post by qml »

COUNTIF is on the list of excel functions supported by TM1 Web 9.5.2, so if you can't get it to work I'd be inclined to say it's a bug. But of course before you come to that conclusion, be sure you have restarted all the services and look into Excel upgrade/downgrade on the server as well. Is your Excel up to date with all the service packs and patches?
Kamil Arendt
User avatar
Steve Rowe
Site Admin
Posts: 2456
Joined: Wed May 14, 2008 4:25 pm
OLAP Product: TM1
Version: TM1 v6,v7,v8,v9,v10,v11+PAW
Excel Version: Nearly all of them

Re: COUNTIF not working in TM1 Web ActiveSheets

Post by Steve Rowe »

Or maybe its the more complex formula you have thats not supported?
Try a simple countif and if that works the you'll know. Then maybe break the formula up into multiple columns?

Mr HTH
Technical Director
www.infocat.co.uk
TomBr
Posts: 32
Joined: Tue Jun 03, 2008 6:56 pm

Re: COUNTIF not working in TM1 Web ActiveSheets

Post by TomBr »

Hi,

I have come across issues with COUNTIF on TM1web before which I needed to work around.

Try the following :

Add the following formula into column BY
=IF(OR(LEFT(BX1,6)="Please",LEFT(BX1,4)="Item"),1,0)

Then your formula becomes
=SUM(BY:BY)

Tom
LoganNSE
Posts: 22
Joined: Fri Nov 18, 2011 10:19 am
OLAP Product: TM1
Version: 9.5.2
Excel Version: 2003 2007

Re: COUNTIF not working in TM1 Web ActiveSheets

Post by LoganNSE »

Hi,

Tried everything however none of them worked-out in excel.

Finally, added a new column in the cube with numeric value '1' if there is an 'Item'/'Please', included this new column to active form, summed-up to get the count and the column was hidden.

This is the workaround to get that done :-)

Thanks & Regards,
Logan
Post Reply