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 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 1 reply
  • 624 views
  • 0 likes
  • 2 in conversation