Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Color change by dimension

Hii All,

I have question about change color as per dimension.

Ex: Prod,Sales

for 1 :Red

2 : Green

18 Replies
Sergey_Shuklin
Specialist
Specialist

prma7799
Master III
Master III

Can you please elaborate more?

Anil_Babu_Samineni

As always, short question won't help you as much you need.

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Anonymous
Not applicable
Author

How to give color as per dimension

prma7799
Master III
Master III

Please share some sample app with expected output.

Anil_Babu_Samineni

When you talk about dimension text color, You have give some thing like below

If(FieldName = 'Smart', Green(), If(FieldName = 'Poor', Red(), LightCyan()))

This condition you must use from Dimension and go to Text colour then paste over there and hit ok. Here, How expression works as If FieldName has Smart value or name then text colour shows as green same as Poor text colour shows as Red or else LightCyan. This should work as you required

HTH

Anil

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Anonymous
Not applicable
Author

Its shows wrong.

I want to show the each dimension having different color.

Ex:Prod ,Sales

a,100

b,200

c,300

each dimension having different color in bar chart.

prma7799
Master III
Master III

Like this ?

Anil_Babu_Samineni

May be one option is go to colour tab and use persistence colour check box

Or else, Try this in BG colour from Expression

Color(FieldIndex('FieldName',FieldName))

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful