BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi All,

I am having problem with my current coding.

I have a file with Department Id, Agent Id Month and Sales info. There will be 2 - 4 occurence for a particular agent. I have to create a report for every agent with Agent Id and Department Id dipslayed on the top and Month and Sales Info as detailed lines. I am able to do one agent per page I am to put 3 agents per page but I couldnt. Any Help will be appreciated...

The Report should look like

ABC Insurance Co Page 1
XXx UUUU

Agent id : 12345
Department : P&C

Month Sales
-------------------------
01 $3,000.00
02 $3,000.00
01 $3,000.00


Agent id : 12345
Department : P&C

Month Sales
-------------------------
01 $3,000.00
02 $3,000.00
01 $3,000.00


Agent id : 12345
Department : P&C

Month Sales
-------------------------
01 $3,000.00
02 $3,000.00
01 $3,000.00

ABC Insurance Co Page 2
XXx UUUU

Agent id : 12345
Department : P&C

Month Sales
-------------------------
01 $3,000.00
02 $3,000.00
01 $3,000.00


Agent id : 12345
Department : P&C

Month Sales
-------------------------
01 $3,000.00
02 $3,000.00
01 $3,000.00


Agent id : 12345
Department : P&C

Month Sales
-------------------------
01 $3,000.00
02 $3,000.00
01 $3,000.00

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 0 replies
  • 714 views
  • 0 likes
  • 1 in conversation