<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic PROC SGPLANEL – Data labels not showing when combining options DATALABEL and LIMITUPPER/LIMITLOWER in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLANEL-Data-labels-not-showing-when-combining-options/m-p/965501#M25478</link>
    <description>&lt;P&gt;First, sorry for the redundancy: I found a post written by &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/223838"&gt;@js5&lt;/a&gt;&amp;nbsp;that corresponds to my problem (&lt;LI-MESSAGE title="proc sgpanel: is datalabel supposed to work with limitlower and limitupper?" uid="840252" url="https://communities.sas.com/t5/Graphics-Programming/proc-sgpanel-is-datalabel-supposed-to-work-with-limitlower-and/m-p/840252#U840252" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;) but it is closed with no clear answer to the original question (Is DATALABEL supposed to work with LIMITLOWER and LIMITUPPER in PROC SGPANEL?) and the proposed solution does not work for me so here we go with a new post on the matter:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a simple dataset structured as follows:&lt;/P&gt;&lt;LI-CODE lang="sas"&gt;data my_data_SGPANEL;
input food_group  sex  select_var  Mean  LowerCLMean  UpperCLMean;
datalines;
111  1  0  6.2  5.6  6.8
111  1  1  2.7  2.1  3.3
111  2  0  4.9  4.5  5.4
111  2  1  1.5  1.0  2.0
112  1  0  2.3  2.0  2.6
112  1  1  0.9  0.6  1.1
112  2  0  2.9  2.5  3.3
112  2  1  2.4  1.3  3.4
...
; 
run; &lt;/LI-CODE&gt;&lt;P&gt;I have attached the complete dataset to my post. I am on SAS 9.4M5.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to use a SGPANEL procedure to plot bar charts by sex side by side. I have tried using PROC SGPANEL with options DATALABEL, LIMITLOWER and LIMITUPPER to get error bars and value labels displayed on the graphs. I used option DATALABEL without a variable, as specified in SAS Documentation (&lt;A href="https://documentation.sas.com/doc/en/pgmmvacdc/9.4/grstatproc/n0mc5dtithid5mn13c54dlgaceq3.htm#n07x4pm453dunnn18xczfx3xpih1" target="_self"&gt;here&lt;/A&gt; for the LIMITLOWER option). However, it looks like options DATALABEL and LIMITLOWER/LIMITUPPER are simply incompatible. When I use them together, I get this note in my LOG, twice (one for LIMITLOWER and the other for LIMITUPPER, I guess):&lt;/P&gt;&lt;PRE&gt;NOTE: La barre d'erreur ne prend en charge l'option DATALABEL=. Le libellé ne sera pas ajouté.&lt;/PRE&gt;&lt;P&gt;Which roughly translates to “The DATALABEL= option is not supported by the error bar. The label will not be added.” &lt;EM&gt;(Sorry for the poor translation but the original first French sentence is pretty bad and actually does not mean anything… Like in @js5's post, not sure where French is coming from here since all the other messages in my LOG are in English).&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Here is the code:&lt;/P&gt;&lt;LI-CODE lang="sas"&gt;/* Formats used in the graphs */
proc format; 
	/** Yes / No **/
	value ynfmt 0 = "No"  1 = "Yes";
	/** Food groups **/
	value fdgpfmt 111 = "red meat" 112 = "poultry" 113 = "game" 114 = "offals" 115 = "processed meat";
run; 

/* SGPANEL procedure */
proc sgpanel data = my_data_SGPANEL;
	panelby sex;
	vbarparm category = food_group response = Mean / group = select_var  groupdisplay = cluster  DataLabel  LimitLower = LowerCLMean  LimitUpper = UpperCLMean  LimitAttrs = (Color = black);
	format sex sexfmt.  food_group fdgpfmt.  select_var ynfmt.  Mean F4.1  LowerCLMean F4.1  UpperCLMean F4.1; 
	ColAxis display = (NoLabel); 
	RowAxis label = "Percents";
run; &lt;/LI-CODE&gt;&lt;P&gt;And here is the output (error bars but no data labels):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SGPanel110.png" style="width: 462px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/106632i398B3DCECAF48726/image-dimensions/462x346?v=v2" width="462" height="346" role="button" title="SGPanel110.png" alt="SGPanel110.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I remove options LIMITLOWER, LIMITUPPER and LIMITATTRS from the code above, the data labels are displayed on top of the bars (and I could not find how to choose their position on the graph) but, as expected, no limit lines are displayed:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SGPanel112.png" style="width: 462px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/106640iCEF993FCE8C4CE8A/image-dimensions/462x346?v=v2" width="462" height="346" role="button" title="SGPanel112.png" alt="SGPanel112.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I guess that one solution could be to use a SGPLOT procedure by sex:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="sas"&gt;proc sort data = my_data_SGPANEL; by sex; run; 
proc sgplot data = my_data_SGPANEL;
	by sex;
	vbarparm category = food_group response = Mean / group = select_var  GroupDisplay = cluster  DataLabel  LimitLower = LowerCLMean  LimitUpper = UpperCLMean  LimitAttrs = (Color = black);
	format sex sexfmt.  food_group fdgpfmt.  select_var ynfmt.  Mean F4.1  LowerCLMean F4.1  UpperCLMean F4.1; 
	xAxis display = (NoLabel); 
	yAxis label = "Percents";
run; &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using PROC SGPLOT, the output for sex = Male:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SGPlot1258.png" style="width: 462px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/106642i3AEC4C152BBD2CD9/image-dimensions/462x346?v=v2" width="462" height="346" role="button" title="SGPlot1258.png" alt="SGPlot1258.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using the graphs generated by the SGPLOT procedure, I could "create" the panel through post-editing. However, it would be better if I could get SAS to do this panel directly to avoid going through post-editing. &lt;STRONG&gt;So Is DATALABEL supposed to work with LIMITLOWER and LIMITUPPER when using PROC SGPANEL?&lt;/STRONG&gt; If so, how should I proceed? Any suggestions? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 01 May 2025 15:54:12 GMT</pubDate>
    <dc:creator>Mombi</dc:creator>
    <dc:date>2025-05-01T15:54:12Z</dc:date>
    <item>
      <title>PROC SGPLANEL – Data labels not showing when combining options DATALABEL and LIMITUPPER/LIMITLOWER</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLANEL-Data-labels-not-showing-when-combining-options/m-p/965501#M25478</link>
      <description>&lt;P&gt;First, sorry for the redundancy: I found a post written by &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/223838"&gt;@js5&lt;/a&gt;&amp;nbsp;that corresponds to my problem (&lt;LI-MESSAGE title="proc sgpanel: is datalabel supposed to work with limitlower and limitupper?" uid="840252" url="https://communities.sas.com/t5/Graphics-Programming/proc-sgpanel-is-datalabel-supposed-to-work-with-limitlower-and/m-p/840252#U840252" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;) but it is closed with no clear answer to the original question (Is DATALABEL supposed to work with LIMITLOWER and LIMITUPPER in PROC SGPANEL?) and the proposed solution does not work for me so here we go with a new post on the matter:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a simple dataset structured as follows:&lt;/P&gt;&lt;LI-CODE lang="sas"&gt;data my_data_SGPANEL;
input food_group  sex  select_var  Mean  LowerCLMean  UpperCLMean;
datalines;
111  1  0  6.2  5.6  6.8
111  1  1  2.7  2.1  3.3
111  2  0  4.9  4.5  5.4
111  2  1  1.5  1.0  2.0
112  1  0  2.3  2.0  2.6
112  1  1  0.9  0.6  1.1
112  2  0  2.9  2.5  3.3
112  2  1  2.4  1.3  3.4
...
; 
run; &lt;/LI-CODE&gt;&lt;P&gt;I have attached the complete dataset to my post. I am on SAS 9.4M5.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to use a SGPANEL procedure to plot bar charts by sex side by side. I have tried using PROC SGPANEL with options DATALABEL, LIMITLOWER and LIMITUPPER to get error bars and value labels displayed on the graphs. I used option DATALABEL without a variable, as specified in SAS Documentation (&lt;A href="https://documentation.sas.com/doc/en/pgmmvacdc/9.4/grstatproc/n0mc5dtithid5mn13c54dlgaceq3.htm#n07x4pm453dunnn18xczfx3xpih1" target="_self"&gt;here&lt;/A&gt; for the LIMITLOWER option). However, it looks like options DATALABEL and LIMITLOWER/LIMITUPPER are simply incompatible. When I use them together, I get this note in my LOG, twice (one for LIMITLOWER and the other for LIMITUPPER, I guess):&lt;/P&gt;&lt;PRE&gt;NOTE: La barre d'erreur ne prend en charge l'option DATALABEL=. Le libellé ne sera pas ajouté.&lt;/PRE&gt;&lt;P&gt;Which roughly translates to “The DATALABEL= option is not supported by the error bar. The label will not be added.” &lt;EM&gt;(Sorry for the poor translation but the original first French sentence is pretty bad and actually does not mean anything… Like in @js5's post, not sure where French is coming from here since all the other messages in my LOG are in English).&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Here is the code:&lt;/P&gt;&lt;LI-CODE lang="sas"&gt;/* Formats used in the graphs */
proc format; 
	/** Yes / No **/
	value ynfmt 0 = "No"  1 = "Yes";
	/** Food groups **/
	value fdgpfmt 111 = "red meat" 112 = "poultry" 113 = "game" 114 = "offals" 115 = "processed meat";
run; 

/* SGPANEL procedure */
proc sgpanel data = my_data_SGPANEL;
	panelby sex;
	vbarparm category = food_group response = Mean / group = select_var  groupdisplay = cluster  DataLabel  LimitLower = LowerCLMean  LimitUpper = UpperCLMean  LimitAttrs = (Color = black);
	format sex sexfmt.  food_group fdgpfmt.  select_var ynfmt.  Mean F4.1  LowerCLMean F4.1  UpperCLMean F4.1; 
	ColAxis display = (NoLabel); 
	RowAxis label = "Percents";
run; &lt;/LI-CODE&gt;&lt;P&gt;And here is the output (error bars but no data labels):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SGPanel110.png" style="width: 462px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/106632i398B3DCECAF48726/image-dimensions/462x346?v=v2" width="462" height="346" role="button" title="SGPanel110.png" alt="SGPanel110.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I remove options LIMITLOWER, LIMITUPPER and LIMITATTRS from the code above, the data labels are displayed on top of the bars (and I could not find how to choose their position on the graph) but, as expected, no limit lines are displayed:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SGPanel112.png" style="width: 462px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/106640iCEF993FCE8C4CE8A/image-dimensions/462x346?v=v2" width="462" height="346" role="button" title="SGPanel112.png" alt="SGPanel112.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I guess that one solution could be to use a SGPLOT procedure by sex:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="sas"&gt;proc sort data = my_data_SGPANEL; by sex; run; 
proc sgplot data = my_data_SGPANEL;
	by sex;
	vbarparm category = food_group response = Mean / group = select_var  GroupDisplay = cluster  DataLabel  LimitLower = LowerCLMean  LimitUpper = UpperCLMean  LimitAttrs = (Color = black);
	format sex sexfmt.  food_group fdgpfmt.  select_var ynfmt.  Mean F4.1  LowerCLMean F4.1  UpperCLMean F4.1; 
	xAxis display = (NoLabel); 
	yAxis label = "Percents";
run; &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using PROC SGPLOT, the output for sex = Male:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SGPlot1258.png" style="width: 462px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/106642i3AEC4C152BBD2CD9/image-dimensions/462x346?v=v2" width="462" height="346" role="button" title="SGPlot1258.png" alt="SGPlot1258.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using the graphs generated by the SGPLOT procedure, I could "create" the panel through post-editing. However, it would be better if I could get SAS to do this panel directly to avoid going through post-editing. &lt;STRONG&gt;So Is DATALABEL supposed to work with LIMITLOWER and LIMITUPPER when using PROC SGPANEL?&lt;/STRONG&gt; If so, how should I proceed? Any suggestions? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 May 2025 15:54:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLANEL-Data-labels-not-showing-when-combining-options/m-p/965501#M25478</guid>
      <dc:creator>Mombi</dc:creator>
      <dc:date>2025-05-01T15:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SGPLANEL – Data labels not showing when combining options DATALABEL and LIMITUPPER/LIMITLOW</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLANEL-Data-labels-not-showing-when-combining-options/m-p/965577#M25479</link>
      <description>&lt;P&gt;For your this sepcial case ,you could use SCATTER statement to mimic DATALABEL as you wished.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;libname x 'C:\Users\xiakeshan\Documents\Downloads';
data my_data_SGPANEL;
 set x.my_data_SGPANEL;
run;




/* Formats used in the graphs */
proc format; 
	/** Yes / No **/
	value ynfmt 0 = "No"  1 = "Yes";
	/** Food groups **/
	value fdgpfmt 111 = "red meat" 112 = "poultry" 113 = "game" 114 = "offals" 115 = "processed meat";
run; 

/* SGPANEL procedure */
proc sgpanel data = my_data_SGPANEL;
	panelby sex;
	vbarparm category = food_group response = Mean / group = select_var  groupdisplay = cluster   LimitLower = LowerCLMean  LimitUpper = UpperCLMean  LimitAttrs = (Color = black);

	&lt;STRONG&gt;scatter x=food_group y=mean/group = select_var  groupdisplay = cluster datalabel datalabelpos=right datalabelattrs=(color=black) markerattrs=(size=0);
    scatter x=food_group y=LowerCLMean/group = select_var  groupdisplay = cluster datalabel datalabelpos=right datalabelattrs=(color=black) markerattrs=(size=0);
	scatter x=food_group y=UpperCLMean/group = select_var  groupdisplay = cluster datalabel datalabelpos=right datalabelattrs=(color=black) markerattrs=(size=0);
&lt;/STRONG&gt;
	format   food_group fdgpfmt.  select_var ynfmt.  Mean F4.1  LowerCLMean F4.1  UpperCLMean F4.1; 
	ColAxis display = (NoLabel); 
	RowAxis label = "Percents";
run; &lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1746165227859.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/106661i981339E10A9CD054/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1746165227859.png" alt="Ksharp_0-1746165227859.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 May 2025 05:53:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLANEL-Data-labels-not-showing-when-combining-options/m-p/965577#M25479</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2025-05-02T05:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SGPLANEL – Data labels not showing when combining options DATALABEL and LIMITUPPER/LIMITLOW</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLANEL-Data-labels-not-showing-when-combining-options/m-p/965585#M25480</link>
      <description>&lt;P&gt;Thank you for taking the time to help me, &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Indeed, I thought about using SCATTER statements to add the labels but the output is a bit messy, even if I use different positions with option DATALABPOS to space the labels apart and avoid overlapping :&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;proc sgpanel data = my_data_SGPANEL;
	PanelBy sex;
	vbarparm category = food_group response = Mean / group = select_var  GroupDisplay = cluster  LimitLower = LowerCLMean  LimitUpper = UpperCLMean 	LimitAttrs = (Color = black);
	format sex sexfmt.  food_group fdgpfmt.  select_var ynfmt.  Mean F4.1  LowerCLMean F4.1  UpperCLMean F4.1; 
	scatter x = food_group  y = mean / group = select_var  GroupDisplay = cluster  DataLabel  &lt;STRONG&gt;DataLabelPos = right  &lt;/STRONG&gt;DataLabelAttrs=(color=black)  MarkerAttrs=(size=0);
	scatter x = food_group  y = LowerCLMean / group = select_var  GroupDisplay = cluster  DataLabel  &lt;STRONG&gt;DataLabelPos = bottomright  &lt;/STRONG&gt;DataLabelAttrs=(color=black)  MarkerAttrs=(size=0);
	scatter x = food_group  y = UpperCLMean / group = select_var  GroupDisplay = cluster  DataLabel&lt;STRONG&gt;  DataLabelPos = topright  &lt;/STRONG&gt;DataLabelAttrs=(color=black) MarkerAttrs=(size=0);
	ColAxis display = (NoLabel); 
	RowAxis label = "Percents";
run; &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SGPanel116.png" style="width: 511px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/106663i84296F08A2318BE7/image-dimensions/511x383?v=v2" width="511" height="383" role="button" title="SGPanel116.png" alt="SGPanel116.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see, data labels of the means and lower limits are overlapping their own bars which is not very "clean". &lt;STRONG&gt;Is there a way to put these data labels under the bars as in the PROC SGPLOT output?&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Also, &lt;STRONG&gt;should I conclude that DATALABEL and LIMITLOWER/LIMITUPPER are indeed incompatible when using PROC SGPANEL?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thank you again for your help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 May 2025 08:52:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLANEL-Data-labels-not-showing-when-combining-options/m-p/965585#M25480</guid>
      <dc:creator>Mombi</dc:creator>
      <dc:date>2025-05-02T08:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SGPLANEL – Data labels not showing when combining options DATALABEL and LIMITUPPER/LIMITLOW</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLANEL-Data-labels-not-showing-when-combining-options/m-p/965590#M25481</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/423497"&gt;@Mombi&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think you can add the desired table by using the &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/grstatproc/n01df10sevrei7n1o6cqjjkrb417.htm" target="_blank" rel="noopener"&gt;COLAXISTABLE statement&lt;/A&gt;:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;FONT color="#999999"&gt;proc sgpanel data = my_data_SGPANEL;
  panelby sex;
  vbarparm category = food_group response = Mean / group = select_var  groupdisplay = cluster  DataLabel  LimitLower = LowerCLMean  LimitUpper = UpperCLMean  LimitAttrs = (Color = black);
  format sex sexfmt.  food_group fdgpfmt.  select_var ynfmt.  Mean F4.1  LowerCLMean F4.1  UpperCLMean F4.1; 
  ColAxis display = (NoLabel); 
  RowAxis label = "Percents";
  &lt;STRONG&gt;&lt;FONT color="#3366FF"&gt;colaxistable LowerCLMean Mean UpperCLMean / class=select_var classdisplay=cluster;&lt;/FONT&gt;&lt;/STRONG&gt;
run;&lt;/FONT&gt; &lt;/PRE&gt;
&lt;P&gt;At least this works on my SAS 9.4M5 (where I do &lt;EM&gt;not&lt;/EM&gt; get notes in the log about incompatibility of DATALABEL and error bars).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SGPANEL_COLAXISTABLE.png" style="width: 640px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/106664iA2E594835CF65557/image-size/large?v=v2&amp;amp;px=999" role="button" title="SGPANEL_COLAXISTABLE.png" alt="SGPANEL_COLAXISTABLE.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/423497"&gt;@Mombi&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;NOTE: La barre d'erreur ne prend en charge l'option DATALABEL=. Le libellé ne sera pas ajouté.&lt;/PRE&gt;
&lt;P&gt;(...)&amp;nbsp;&lt;EM&gt;not sure where French is coming from here since all the other messages in my LOG are in English&lt;/EM&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You can obtain those special log messages in English by (temporarily) changing the value of the &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/nlsref/n1n9bwctsthuqbn1xgipyw5xwujl.htm" target="_blank" rel="noopener"&gt;LOCALE system option&lt;/A&gt;:&lt;/P&gt;
&lt;PRE&gt;options locale=EN_US;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 May 2025 10:47:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLANEL-Data-labels-not-showing-when-combining-options/m-p/965590#M25481</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2025-05-02T10:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SGPLANEL – Data labels not showing when combining options DATALABEL and LIMITUPPER/LIMITLOW</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLANEL-Data-labels-not-showing-when-combining-options/m-p/965593#M25482</link>
      <description>&lt;P&gt;Thanks a lot &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32733"&gt;@FreelanceReinh&lt;/a&gt;: that's exactly what I wanted! Also, adding this COLAXISTABLE statement made the notes disappear.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was about to post a solution involving the creation of coordinate variables combined with some TEXT statements but your proposal is much more elegant &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;P.S. : In case it could help someone find this topic if the note pops up in their log, I have tried&amp;nbsp; "&lt;/EM&gt;options locale = EN_US&lt;EM&gt;" and in English, the note is "Error bar does not support the DATALABEL= option. The label will not be drawn."&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 May 2025 13:36:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLANEL-Data-labels-not-showing-when-combining-options/m-p/965593#M25482</guid>
      <dc:creator>Mombi</dc:creator>
      <dc:date>2025-05-02T13:36:08Z</dc:date>
    </item>
  </channel>
</rss>

