BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
Jeffery_Porter
Obsidian | Level 7

Hello and good afternoon!

 

i was wondering if anyone here could assist me. i am working with Pie charts and i need to be able to assign colors to specific values, what I am finding is that as data is sorted the colors will change based on the value or position of the data and it is a little challenging to present data consistently when the colors change when data is filtered. here is an example of what I mean:

 

Here is a custom Pie chart with 2 colors assigned: 

Jeffery_Porter_0-1678747176993.png

Now this doesn't change, however when I introduce a NEW data it changes to:

Jeffery_Porter_1-1678747221836.png

 

More examples: here is a standard pie chart, which i assigned specific random colors:

Jeffery_Porter_2-1678747289694.png

 

When new data is introduced:

Jeffery_Porter_3-1678747330881.png

 

I would like to learn how to assign data values a specific color, and have them never changed regardless of filters if at all possible. I would deeply appreciate any information that you can provide me with assist with this!

1 ACCEPTED SOLUTION

Accepted Solutions
acordes
Rhodochrosite | Level 12

You can use rules for that purpose. 

 

Decide between the scope of the the rules, object specific or report global. 

 

pic.png

 

 

View solution in original post

2 REPLIES 2
acordes
Rhodochrosite | Level 12

You can use rules for that purpose. 

 

Decide between the scope of the the rules, object specific or report global. 

 

pic.png

 

 

Jeffery_Porter
Obsidian | Level 7

You are wonderful! thank you!

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

Tips for filtering data sources in SAS Visual Analytics

See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 651 views
  • 0 likes
  • 2 in conversation