Exploring, modeling, predicting and reporting with SAS Visual Analytics and SAS Visual Statistics

Crosstab Column Headings for Measures - can they be removed?

Reply
Respected Advisor
Posts: 2,917

Crosstab Column Headings for Measures - can they be removed?

In a SAS VA Crosstab (VA 7.3) using either Data Visualization or Report Designer is there any way to remove a redundant Column Heading? In my case I'm displaying one measure in the crosstab underneath a date, for example Percentage:

 

201601         201602        201603        <== Crosstab Column Variable

Percentage  Percentage  Percentage  <== Crosstab Measure

 

Percentage happens to be the measure variable name but there doesn't appear to be any way of removing the word Percentage from being repeated across all columns. I know I could assign a non-printable character to the variable label and VA would use that instead of the variable name but I suspect it would still show a blank column heading instead of removing it entirely. Is there a better way?

 

 

SAS Super FREQ
Posts: 384

Re: Crosstab Column Headings for Measures - can they be removed?

[ Edited ]

On the Style tab, under Measure headings, try changing the background color of the Format property (this property affects the text) to match the Background color. You will have what look like blank cells, but you wouldn't have to change the name, which would affect everywhere the data item is used.

Respected Advisor
Posts: 2,917

Re: Crosstab Column Headings for Measures - can they be removed?

[ Edited ]

That hides the text in the heading but still leaves the heading row in place. Its not ideal but I guess it is the easiest workaround.

 

I was thinking about how PROC REPORT handles a blank variable label in a heading and removes the heading row completely - maybe a nice feature for a later version?

 

 

Post a Question
Discussion Stats
  • 2 replies
  • 321 views
  • 0 likes
  • 2 in conversation