value_format not coming through in explore

Knowledge Drop

Last tested: Dec 9, 2020
 

The Problem

User has added value_format to their field which is correct but no changes on the explore side

A Solution

They most likely have not set the type of their dimension at all or have not set it to be numeric. Make sure they have defined type: number for that field as per our docs;

To apply Excel-style formatting to measures via value_format, make sure the measure is numeric and not of type: string.

https://docs.looker.com/reference/field-params/value_format

This content is subject to limited support.                

Version history
Last update:
‎06-14-2021 06:16 PM
Updated by: