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.

 

 

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

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