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

I have a lot of questions on flow.

I want to aggregate data at week level. My first DATA are on a day level.

I Change it in YYWEEKV5 and WEEKV5 in informat (I have not an other choice).

I put a SUM on the variables.

But the result is not good. It continue to aggregate at a day level 

If you can help me

 

 

YannRC_0-1768476581992.png

YannRC_0-1768477025221.png

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
LinusH
Tourmaline | Level 20

This step uses SQL, and SQL does not aggregate based on formats.

So what you need to do is transform this column, by using put(LaDate,YYWEEKV5 .).

Data never sleeps

View solution in original post

3 REPLIES 3
YannRC
Quartz | Level 8

It would be helpful to have a sample for me and other users

I am on the LTS09. Before, It was very easy for me but now.....

 

LinusH
Tourmaline | Level 20

This step uses SQL, and SQL does not aggregate based on formats.

So what you need to do is transform this column, by using put(LaDate,YYWEEKV5 .).

Data never sleeps
YannRC
Quartz | Level 8
Thanks a lot

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!

Register now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 128 views
  • 0 likes
  • 2 in conversation