Forum Discussion

Astroraf's avatar
Astroraf
Data Integration
02-17-2026

How to add Scientific Units to a pivot table

Hello Sisense world,

Sometimes you are working with scientific units or any units for that matter that are not available in the number formatting within Sisense. i.e. Currency values, number or percentage. With the widget edit script provided below you can add a scientific unit or any type of symbol that lets your audience know what the measure/value is being calculated by.

 

const myTarget = {
  type: ['value'],
  values: [
    {
      title: 'Total Quantity' // desired column
    }
  ]
};

widget.transformPivot(myTarget, function(metadata, cell) {
  if (cell.value !== null && cell.value !== undefined) {
    cell.content = cell.value + " Jâ‹…s";
  }
});

Here at Cause and Effect we provide a lot of useful solutions to enhance your analytics with Sisense, feel free to reach out to us to enhance your Models, Dashboard, Embedded Dashboards, etc. We have helped out hundreds of clients to produce dashboards that are easily digestable to their audience and bring their KPI's to life.

 

Rafael Ferreira

Cause + Effect Strategy

[email protected]

www.causeandeffectstrategy.com

No RepliesBe the first to reply