Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Vidit
Creator
Creator

Alternative marking of group of rows?

Hi I have the following pivot table.

In which i want to differentiate each group of rows, may be by changing the background color of each set of rows alternatively.

Project NumberProject NameYear - MonthResBudSchQua
E-2012-007A2012-081111
2012-091111
2012-101111
2012-111111
2012-121111
2013-011111
2013-023332
2013-033332
2013-043332
E-N-2013-002B2012-101111
2012-111111
2012-121111
2013-011111
2013-021111
2013-031111
2013-041111
G-2012-015C2012-082223
2012-092233
2012-102232
2012-112222
2012-122222
2013-012322
2013-022322
2013-032222

Desired O/p:

table.JPG

Can Any one suggest a solution?

Leo

14 Replies
alexandros17
Partner - Champion III
Partner - Champion III

Here it is ...

flipside
Partner - Specialist II
Partner - Specialist II

This wouldn't work for me, either, but it may be down to the limiting of dimensions through set analysis in the expressions, so I've come up with another solution (seems to work 99% of the time, anyhow) using the following idea (I'm using some user log data, but it should be simple to amend to suit your data) ...

Create a variable to concatenate your distinct dimension values, here I also add in my set analysis from the expression to limit the list as the Pivot Table will do ...

=concat({<[Session Start] = {">=$(DocDatesFrom)<=$(DocDatesTo)"}>} total distinct [Identifying user],',',[Identifying user])

... then use this expression to split the string at the relevant place and count the preceding commas (or whatever delimiter you are using) ...

=if(even(substringcount(subfield(vUsers,[Identifying user],1),',')),LightGray(200),Yellow(100))

I'm guessing the sort order of the Pivot table will be important too.

flipside

Vidit
Creator
Creator
Author

Hi,

Thanx for the sample. this works for most of the cases, but if i have to apply any filters on the table than the alternate colring is not working properly. Refer to the image attached.AAAimg.JPG

As you can see the A & C are both in red. But that should happen.

Any solution for this?

Leo

Gysbert_Wassenaar

See attached qvw.


talk is cheap, supply exceeds demand
Not applicable

Hi Gysbert,


I also have the same requirement discussed in this post and tried to implement the way you did in the sample application comm81789.qvw          .

Unfortunately it is not working for me properly. I have attached my sample application .Please help me where i am going wrong

Many thanks for your help and time.

Regards

Murali Krishna