Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
Is it possible to use faded color for one version and normal colors for another.
e.g. In chart below I want faded colors for Past and normal for Current
Dimentions :
Year
=if(Version='2012','Past','Current')
Therapeutic Area
Expression :
sum(Revenue)
Thanks,
Prakash
Hi,
Add a Flag field in your load like
if(Version=2012,'Past','Current') as VerFlag
and in chart in sum(Revenue) expression click + sign and in Background type a code like
=if(VerFlag='Past' and [Therapeutic Area]='Hematology',RGB(188,205,224),
if(VerFlag='Past' and [Therapeutic Area]='Oncology',RGB(253,176,168)))
Hope this helps
Thanks & Regards
Go to the chart properties and put color function what you want under background color.
--Jai
If you expand the expression you can very specific about the color in the "background color". You could say that if hematology 2012 then lightred(100) else lightred(). the 100 is the alpha which is what I think is what you are looking for. You can also enter the exact rgb values.
Hope this helps...
Like this?
I didn;t know that you could set the Aplha like that - I've been using ARGB(x,x,x,x) to set it. Thanks!
Glad I could help.
I usually also use ARGB since it gives complete control of the colors.
Hi,
Add a Flag field in your load like
if(Version=2012,'Past','Current') as VerFlag
and in chart in sum(Revenue) expression click + sign and in Background type a code like
=if(VerFlag='Past' and [Therapeutic Area]='Hematology',RGB(188,205,224),
if(VerFlag='Past' and [Therapeutic Area]='Oncology',RGB(253,176,168)))
Hope this helps
Thanks & Regards
Hi,
After flaging type a code below like in attached sample image
=if(Flag='Past' and [Therapeutic Area]='Hematology',RGB(188,205,224),
if(Flag='Past' and [Therapeutic Area]='Oncology',RGB(253,176,168)))
Hope this helps
Thanks & Regards
Thanks Anand