简体   繁体   中英

Spotfire: editing the headers of a cross table

I've built a cross table in Spotfire with some data which is aggregated in various ways (eg "sum", "first", etc.).

The default headers are really ugly (eg "SUM(revenue)") and I would like to change them to something a bit more relatable. For example, instead of SUM(revenue), I would like to have "Total Revenue".

Just edit the properties of the Cross Table (right click, properties), then type a new name into the Display Name box that I helpfully outlined with a freehand red circle! You get to that screen by clicking the little black triangle beside the column name:

在此处输入图片说明

For the example you gave in your question, just add the bolded portion below in the Custom Expression editor:

Sum(Revenue) AS [Total Revenue]

With several columns, it would be: Sum(Revenue) AS [Total Revenue], Sum(Expense) AS [Total Expense]

...and so on. You can also include special characters in your title as long as you're using the brackets

OK, I think I found a way...apparently you can't change the columns that are already there but you can delete everything and set the names when you are setting up the columns.

Full details here: http://docs.spotfire.cloud.tibco.com/spotfire/GUID-796A4E7B-6669-4F39-8746-5B73F44F342B.html

If anyone knows how to edit the titles instead of having to re-do the table every time, it would be great!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM