Author Topic: Conditional Formatting  (Read 730 times)

Offline pw

  • Full Member
  • ***
  • Posts: 29
  • Forum Citizenship: +0/-0
Conditional Formatting
« on: 07 Jun 2006 09:45:41 am »
Hi Folks,

i tried to create a variable (string values) which should be able to color a column in a crosstab, which can have about 5 different values.
The Data-Item can have values 50,40,30,20,10. I have build up the variable C_CLUSTER with those 5 values. But how can i transfer the values from the Data-Item into the values of the variable, so that the color coding works? Well, i hope this is understandable ;)

THanks in advance,
Cheers
PW

Offline bdybldr

  • Global Moderator
  • Statesman
  • *****
  • Posts: 275
  • Forum Citizenship: +7/-1
Re: Conditional Formatting
« Reply #1 on: 08 Jun 2006 06:23:43 am »
pw,
I'm not sure I understand your question.  How did you define the C_CLUSTER variable?
I would define it as:

CASE [DataItem]
    WHEN ('50') THEN ('Red')
    WHEN ('40') THEN ('Blue')
    WHEN ...
   
    ELSE ('Purple')
END

Something like that.  Good luck

Offline mrcool

  • Statesman
  • ******
  • Posts: 265
  • Forum Citizenship: +27/-28
Re: Conditional Formatting
« Reply #2 on: 12 Jun 2006 01:05:53 am »
Hi...if u r using that data item in the variable and the values u r giving r constant...instead of giving values as 1 2 .....giv 50,40 n wat ever u need....in conditional explorer under the variable u created u can find the values as 50,40..etc...

Thanks,
mrkwel

Offline mrcool

  • Statesman
  • ******
  • Posts: 265
  • Forum Citizenship: +27/-28
Re: Conditional Formatting
« Reply #3 on: 03 Jul 2006 05:47:24 am »
Hi...Plz update the topic....