BookmarkSubscribeRSS Feed
Ingrid88
Calcite | Level 5

In VA, my bar chart only displays categories that have data. Is there a way to show all categories, even if they do not have any data?

2 REPLIES 2
PeterWijers
Lapis Lazuli | Level 10

Hi Ingrid,

I can not find a way to do this in SAS VA itself.

Please consider creating zero records for all occurrences in your database.

Several times I had to solve this issue just by adding 0 value records for all selectable instances that had no value.

greetings and good luck,  Peter

MichelleHomes
Meteorite | Level 14

If you're creating a chart over time then you may want to consider using a Time Series Bar Chart and the tips that @TriciaAanderud suggests at http://bi-notes.com/2015/12/sas-va-insert-your-own-months/

 

Alternatively you can create a "helper table" as in the blog post to create 0 records which @PeterWijers suggested.

 

Cheers,

Michelle

//Contact me to learn how Metacoda software can help keep your SAS platform secure - https://www.metacoda.com

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
  • 1215 views
  • 0 likes
  • 3 in conversation