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

Hello, 

 

Ihave an inquiry to you. I am doing the course SAS Visual Analytics 1 basics. I am doing the practise and have notice that I have missing value within the first exercise. The first image is how it should be and the second image is how it's look with me. I already tried to sorted the data items "Manager at lvl 1." (see image 2)  which I get 18 observations and still does not work in the graph (see image 3). Ontbreek = missing value.

 

The question is how can I filter these missing value out?

Sorted 1.PNG

Sorted 2.PNG

sorted 3.PNG

   

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
antonbcristina
SAS Employee

Hi @trytolearnsas, my mistake the filter should be on the classification variable Manager at 1. level.  Please try removing the missing values using this filter

 

antonbcristina_0-1728675895207.png

 

Alternatively, you could click on the Data source menu icon, and select Apply data filter (second last option):

antonbcristina_1-1728676061192.png

 

Here you'll be able to build an expression to pre-filter the data for the whole report:

antonbcristina_2-1728676163855.png

 

You'll notice this filter only removes one observation, however that observation is what's causing the issue. This isn't an employee at all!

antonbcristina_3-1728676336194.png

 

 

View solution in original post

8 REPLIES 8
antonbcristina
SAS Employee

Hi @trytolearnsas, you can filter the values from the  Filters pane on the right (second last icon):

antonbcristina_0-1728572673887.png

 

In this case, you'll want to uncheck the box at the bottom for "Include missing values".

 

trytolearnsas
Calcite | Level 5

Hi @antonbcristina 

 

Thank you for your fast reply and your help. I have used the filter.  When I am not check the box "include missing value" nothing is going to change (see picture 1). I expect then then the missing value will be gone.  Eventually I have to adjust the line of value's to get the missing value gone (see picture 2). Does this work like this?

 

Second question, the course did not mention anything about filter the data. I assume the missing value is filter out in preparing the data and load it in the canvas. Is this true and when yes, how can I filter the missing data before loading in the canvas?

 

Thanks in advance.

 

I am looking forward hearing from you.

 

sorted 4.PNG

sorted 5.PNG

  

 

antonbcristina
SAS Employee

Hi @trytolearnsas, my mistake the filter should be on the classification variable Manager at 1. level.  Please try removing the missing values using this filter

 

antonbcristina_0-1728675895207.png

 

Alternatively, you could click on the Data source menu icon, and select Apply data filter (second last option):

antonbcristina_1-1728676061192.png

 

Here you'll be able to build an expression to pre-filter the data for the whole report:

antonbcristina_2-1728676163855.png

 

You'll notice this filter only removes one observation, however that observation is what's causing the issue. This isn't an employee at all!

antonbcristina_3-1728676336194.png

 

 

trytolearnsas
Calcite | Level 5

Hi @antonbcristina, your solution did work, thank you for your effort and help 🙂 

 

trytolearnsas
Calcite | Level 5

Another question which is a fellowing about this topic. I use the data filter sets. I have noticed that I need to prepare everytime. How can I prepare it once before I loaded in a new report/canvas? Is there option for this?

 

Thanks in advance.

 

 

antonbcristina
SAS Employee

The data would need to be pre-processed before you use it in Visual Analytics for reporting. This can be done with SAS Studio, using SAS code or tasks. 

trytolearnsas
Calcite | Level 5

hi @antonbcristina Another question, how come that the category “Department” only contains “Sales while I filtered “Sales” and “Purchasing”? See pictures.

 

I am sorry for all the questions, I would like to understand it better.

 

Thank in advance.

 

trytolearnsas_0-1728899398150.png

 

trytolearnsas_1-1728899402571.png

 

 

antonbcristina
SAS Employee

This might just be a feature of the data. Where is this filtering taking place or what is it that you're trying to achieve?

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 8 replies
  • 906 views
  • 1 like
  • 2 in conversation