function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Molson94Molson94 

Wave Analytics - Formatting Decimals

Hello All,

Looking for some examples people may have used on their own to format decimal places in Wave analytics.
the documentation is not clear since it contains sample code from both WMD 1.0 and 2.0.

What I am trying to do it show 2 decimal places in my measures for specific fields.
The fields that are coming from Salesforce are formula fields, that return a 2 decimal place number.

Inside wave this data appears to be getting rounded, and/or decimal places are getting dropped.

Does anyone have advice/guidance on the syntax that needs to be used to formatt number fields?
"measures":[
   {
      "field": "Field_Name__c",
      "format": {
// What goes here? What is the proper syntax to simply enable that values hold their decimal places in the UX?
      }
    }