BookmarkSubscribeRSS Feed
ggunes
Calcite | Level 5

Hello everyone,

I want to ask you a question about a subject that I have been dealing with a lot.

I have a table like this: 

segmentgroupdateactual
AaJun-213
AaJun-215
AbJul-217
AcAug-218
BeSep-214
BeSep-216
CdNov-212
CdNov-215
CfJan-227

 

I want to sum actual values of same segment,same group, same date like this:

 

segmentgroupdateactual
AaJun-218
AbJul-217
AcAug-218
BeSep-2110
CdNov-217
CfJan-227

How can I do that in Data Studio(Prepare Data). I couldn't do this with any transform option and also "code" option in "custom transform" options.

I would be very grateful if someone could help.

Thanks.

1 REPLY 1
EyalGonen
Lapis Lazuli | Level 10

Hi @ggunes 

 

I am not a Data Studio expert but my guess is if no built-in transform allows it, then you can always fallback to using the "custom code" node with CASL language and summarize the data like shown here: https://blogs.sas.com/content/sgf/2019/08/08/summarization-in-casl/ 

 

Eyal

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 16. Read more here about why you should contribute and what is in it for you!

Submit your idea!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 387 views
  • 0 likes
  • 2 in conversation