BookmarkSubscribeRSS Feed
titan31
Quartz | Level 8

Hi, 

 

I'm trying to filter out from a crosstab or table, any members that have a sum of a value that's equal to 0. As the filter under properties doesn't allow me to filter where the Aggregrated measure is equal to 0, is there any way to filter it out using something similar to a having clause in SQL.

 

 

select value ,count(distinct mem_no) as mem_count, sum(total_billed) as total_billed
from table
group by value
having sum(total_billed) <> 0
order by value;

 

The above is what I'm effectively trying to recreate in VA. Is there anyway possible to do that?

 

Thanks,

1 REPLY 1
FredrikE
Rhodochrosite | Level 12

Hi!

Maybe my answer to another post could help you?

In that we were using a parameter, but the concept should be the same?!

 

https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Visual-Analytics-7-4-Use-a-parameter-and-con...

 

//Fredrik

sas-innovate-white.png

Missed SAS Innovate in Orlando?

Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.

 

Register now

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
  • 1 reply
  • 1007 views
  • 0 likes
  • 2 in conversation