Remove Decimals from SUM Column Summary

  • 1
  • Question
  • Updated 10 months ago
  • Answered
Is there the ability to remove decimal places from column summaries using a java snippet or other means?  I have a table which I am using a java snippet to remove decimals from the field values, but for the column summaries, the decimals display as I was not able to locate a place to associate the java snippet with the column summary.
Photo of David Garrity

David Garrity

  • 856 Points 500 badge 2x thumb

Posted 1 year ago

  • 1
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,674 Points 20k badge 2x thumb
Fairly certain you can accomplish by overriding the field metadata to the decimal display you'd like.
Photo of David Garrity

David Garrity

  • 856 Points 500 badge 2x thumb
I am pretty new to Skuid, is there a guide somewhere on how to override field metadata?
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,674 Points 20k badge 2x thumb
Sure thing. Click on the field in the model that is being summarized in the table.



Photo of David Garrity

David Garrity

  • 856 Points 500 badge 2x thumb
Worked like a charm, thank you!
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,674 Points 20k badge 2x thumb
yw ;)
Photo of ns

ns

  • 1,822 Points 1k badge 2x thumb
Hello, can this be done with aggregate models? 
Photo of Bill McCullough

Bill McCullough, Champion

  • 12,436 Points 10k badge 2x thumb
ns,

Create a Formula field and change the decimal places to be what you want.  You can reference your aggregate using merge syntax like this ->  {{sumAmount}}

Thanks,

Bill