I am creating a HTML page using multiple proc reports. There are titles for each proc report.
Issue Iam facing is that , the first title is not displayed , rest all titles are displayed. This is happening constantly.
Attached is the extract of code:
ods tagsets.htmlpanel event= row_panel(start);
ods tagsets.htmlpanel text="<div><H3>Detail File<br></H3> </div>";
ods tagsets.htmlpanel event= column_panel(start);
title;
footnote;
title1 "<div> Region1 </div>";
title2 "<div>Transactions </div>";
proc report data=region1;
column var file_count;
define var / 'Particular' display;
define file_count / 'Count' display;
run;
title;
title1 "<div> Comlpeted Transactions </div>";
proc report data= transact_complete;
column currentamount completed_amount ;
define currentamount / 'Current Amount' display;
define completed_amount / 'Completed Amount' display;
run;
I'm not sure why you're adding <div> tags around your titles. What are you trying to do? In general I recommend not inserting raw HTML into your output if it can be avoided. If you need custom styling in your titles, use the style inline function.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.