dbTalk Databases Forums  

Cell colors

comp.databases.olap comp.databases.olap


Discuss Cell colors in the comp.databases.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Laurie
 
Posts: n/a

Default Cell colors - 10-08-2004 , 10:52 PM






Is it possible to put a calculated cell on a cube that will change the
fore color based on the value. For instance,
iff(Measures.[Amount]>5000,FORE_COLOR='255',FORE_COLOR='0')

Reply With Quote
  #2  
Old   
Richard Tkachuk [MSFT]
 
Posts: n/a

Default Re: Cell colors - 10-19-2004 , 02:17 PM






You can do what you want, but somewhat differently. You can create a
calculated cell with forecolor as an mdx expression. Check this out in mdx
sample:

with cell calculation x for '({[Customers].[All Customers].[USA]})' as '1',
back_color='iif(false,1,0)', fore_color='iif(true,255,1)'
select {[Customers].[All Customers].[USA]} on 0 from sales cell properties
formatted_value, back_color, fore_color

--
_______________
Disclaimer : This posting is provided "AS IS" with no warranties, and
confers no rights.

"Laurie" <whj3ihdey1inz7k (AT) jetable (DOT) com> wrote

Quote:
Is it possible to put a calculated cell on a cube that will change the
fore color based on the value. For instance,
iff(Measures.[Amount]>5000,FORE_COLOR='255',FORE_COLOR='0')



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.