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

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 724 views
  • 0 likes
  • 1 in conversation