datanerd's avatar
datanerd
Cloud Apps
09-12-2022
Status:
Delivered

Display all the values in Million (M) pivot

Is there any way to show all the values in millions even if data is in thousands, the default million formattings will show the values less that a million in the regular format

 

 

 

 

5 Comments

  • Hi datanerd,
    You can use custom currency format.
    Just devide your value by 1 000 000 in the formula and add Symbol M.
    Below is an example with thousands.

    Best regards,
    Angelina

     

     

  • harikm007's avatar
    harikm007
    Data Warehouse

    Hi datanerd ,

    You can also use below script (if you are using pivot2):

    const myTarget = {
    type: ['value'],
    values: [
    {
    title:[ 'Value to Million'] // put here desired column
    }
    ]
    };
    
    
    widget.transformPivot(myTarget, function(metadata, cell) {
    	cell.content = (cell.value/1000000).toFixed(2) + 'M'
    });
    
    

    -Hari

     

  • slosada's avatar
    slosada
    Data Pipeline

    Hi  

    Great news! I have a quick update about your inquiry. Since this functionality is available in our L2023.11 release as mentioned by the awesome Oleksandr_K, I am going to move this thread into the Product Feedback Forum and mark it as delivered.