Border every 7th row

Post Reply
AlvinPresley
Posts: 8
Joined: Mon Apr 18, 2016 2:24 pm
OLAP Product: IBM Cognos Tm1
Version: TM1 Web
Excel Version: 2010

Border every 7th row

Post by AlvinPresley »

Hi,

Is there anyway in which we can put a different border for every 7th row and a different border for the first 6 rows? Every 7 rows have the same rptrow value!
I've tried to use the conditional formatting in the format section but that doesnt seem to work. May be because i have another condition already on it for changing it to % or numeric value?

kindly Help!
tomok
MVP
Posts: 2836
Joined: Tue Feb 16, 2010 2:39 pm
OLAP Product: TM1, Palo
Version: Beginning of time thru 10.2
Excel Version: 2003-2007-2010-2013
Location: Atlanta, GA
Contact:

Re: Border every 7th row

Post by tomok »

AlvinPresley wrote:I've tried to use the conditional formatting in the format section but that doesnt seem to work.
And what exactly did you try?
Tom O'Kelley - Manager Finance Systems
American Tower
http://www.onlinecourtreservations.com/
ardi
Community Contributor
Posts: 164
Joined: Tue Apr 02, 2013 1:41 pm
OLAP Product: tm1, cognos bi
Version: from TM1 9.4 to PA 2.0.9.6
Excel Version: 2010
Location: Toronto, ON

Re: Border every 7th row

Post by ardi »

AlvinPresley wrote:Hi,

Is there anyway in which we can put a different border for every 7th row and a different border for the first 6 rows? Every 7 rows have the same rptrow value!
I've tried to use the conditional formatting in the format section but that doesnt seem to work. May be because i have another condition already on it for changing it to % or numeric value?

kindly Help!
You can do this in the Active Form Format Area. Add a row in your format area, give it the ID you want ( for example N7 ) and apply the formatting you want for that row

Then in the first column of your Data Range, write some formula ( you can use Excel Formulas or TM1 Formulas ) that will return "N7" for the rows you want to apply that specific formatting
Ardian Alikaj
deepakjain2020
Regular Participant
Posts: 152
Joined: Sat May 25, 2013 10:32 am
OLAP Product: TM1
Version: 9.5.2; 10.2.2
Excel Version: 2007

Re: Border every 7th row

Post by deepakjain2020 »

What Ardian said should work for sure.
User avatar
gtonkin
MVP
Posts: 1254
Joined: Thu May 06, 2010 3:03 pm
OLAP Product: TM1
Version: Latest and greatest
Excel Version: Office 365 64-bit
Location: JHB, South Africa
Contact:

Re: Border every 7th row

Post by gtonkin »

Assuming you can figure out where you went wrong with your conditional formatting, the easiest is to add a condition like:

Code: Select all

=MOD(ROW(),7)=0
You would need to on which row you want the change and change the 0 in the code above accordingly.
BR, George.

Learn something new: MDX Views
AlvinPresley
Posts: 8
Joined: Mon Apr 18, 2016 2:24 pm
OLAP Product: IBM Cognos Tm1
Version: TM1 Web
Excel Version: 2010

Re: Border every 7th row

Post by AlvinPresley »

Hello People!

Thank you for your suggestions! I had to change the entire formatting area to set things right! Thanks to Ardi..It did work..that is what i did..I was just looking for a workaround though. Anyways, figured that this way was much simpler and a straight forward approach! Thanks again!

Cheers
Post Reply