SPSS Statistics

 View Only

 Hiding Table Titles in SPSS 25

Lisa Sch.'s profile image
Lisa Sch. posted Wed January 29, 2025 05:41 AM

Hello everyone,

I have just switched from SPSS 24 to SPSS 25. Since the upgrade, I have the problem that the table title is always displayed when creating tables, even though I have set all elements except “Pivot table” to “Hidden” in the options. My colleague has exactly the same problem since switching to version 25.

I know that I could subsequently hide or remove the titles from the output using OUTPUT MODIFY, for example. For our internal processes, however, we would ideally need a different solution - as it has worked without any problems so far.

Has anyone had the same experience and has an idea why the titles can no longer be deactivated by default via the menu? And is there a solution to the problem?

Many thanks in advance and best regards
Lisa

Jon Peck's profile image
Jon Peck IBM Champion

I am not sure which titles you are referring to.  The title that is actually within the pivot table, which might be a variable name or label or a term like "Statistics" is important and one would rarely if ever want to hide that, so I presume that you are referring to the Title element produced by some procedures such as Frequencies.

One could hide that using a Python script, but there is an extension command that can hide all the procedure titles in the Viewer with one command.  Maybe that would suffice.

Here is the syntax.

SPSSINC MODIFY OUTPUT TITLES /IF PROCESS=ALL
/VISIBILITY VISIBLE=FALSE.

This is an extension command, and it can be installed via Extensions > Extension Hub.  It will appear on the menus as Utilities > Modify Output Titles.

V25 is very old - V30 was released last year, but that syntax should work.

If you really mean to hide the titles within the pivot table, it could be done with a small Python script using the SetTitleText api applied either to, say, the most recent  pivot table or to all pivot tables at once.

Lisa Sch.'s profile image
Lisa Sch.

Hi Jon,
Thank you for your quick reply.

I have installed the extension and the command works great. Nevertheless, it would be very helpful for me if I could hide the titles permanently by default like before.

I have created a screenshot so that you know what I mean.

I use a table template here but the same problem arises when I use the “SPSS standard template”.
It's about the two table titles (“Tabellen” and “Tabelle 1”) which are obviously not hidden although I have set the “Titles” in the menu to Hidden (“Ausgeblendet”). Up to version 24, it was possible to hide the titles by default via this menu item. In version 25, however, this obviously no longer works. And I don't understand why. Is this a bug? Or have I missed something?

And yes, version 25 is old. Unfortunately, we're not quite up to date here ;)

Best regards
Lisa

Jon Peck's profile image
Jon Peck IBM Champion

There is a way to do this.  You can use OMS (the Output Management System) to suppress various output types from the Viewer.  For example,

OMS
  /SELECT HEADINGS
  /DESTINATION VIEWER=NO.

From then on until you run

OMSEND.

the headings will all be suppressed.

If you are already using OMS for other purposes in your session, you may need to assign names to the OMS filters so that you can control them separately.

Lisa Sch.'s profile image
Lisa Sch.

Hey Jon,

Thank you very much for your reply.
I still have no idea why the titles can no longer be accessed via the menu, but your solution works and is definitely a good compromise to solve the problem for us for the time for now.

Many thanks and best regards
Lisa