BookmarkSubscribeRSS Feed
harsh1
Calcite | Level 5

Hello all,

 query.PNG

I am trying to calculate sum of subtotal of Total Blends column but my source column is based on max value but actually in subtotal it should show summation of all rows.

Does anyone have any idea?

 

 

Regards,

Harsh.

1 REPLY 1
ballardw
Super User

Since you have a picture of your report there is not really anything gained by attaching a document with the same picture.

 

It would help to show the code used to create the table that you have so far. That way we at least know what your variable names are and what roles you have assigned them in proc report. Best would be to include a small example of the data in a data step.

 

 

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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.

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