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

Hi everyone,

 

I have an emergency because i have to solve something Quickly.

I have a database with several update in the same day. I would like to measure only with the mast update.

 

But it's impossible to filter with something like that. dateofupdate = max(forall, Dateofupdate) because an aggregate data is not allowed on a filter.

 

Do you have a solution please?

 

YannRC_0-1728594681421.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
Sam_SAS
SAS Employee

Hello,

 

I'm not sure of the structure of your underlying data. Are you showing the detail data, or is it aggregated? And, is your Frequence a real measure column or is it the generated Frequency that is derived automatically?

 

If your data is actually that simple, you could try just changing the date column to a format that doesn't have a time component. Then all of the rows for each date could be aggregated by Max.

 

Otherwise you could try creating an aggregated data source. https://documentation.sas.com/doc/en/vacdc/v_027/vareportdata/n1o2pvak2xw7jln13a2mxkytdmm4.htm

 

Let us know if that helps,

Sam

View solution in original post

1 REPLY 1
Sam_SAS
SAS Employee

Hello,

 

I'm not sure of the structure of your underlying data. Are you showing the detail data, or is it aggregated? And, is your Frequence a real measure column or is it the generated Frequency that is derived automatically?

 

If your data is actually that simple, you could try just changing the date column to a format that doesn't have a time component. Then all of the rows for each date could be aggregated by Max.

 

Otherwise you could try creating an aggregated data source. https://documentation.sas.com/doc/en/vacdc/v_027/vareportdata/n1o2pvak2xw7jln13a2mxkytdmm4.htm

 

Let us know if that helps,

Sam

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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
  • 704 views
  • 0 likes
  • 2 in conversation