Empty values in JSON

Data source

by Ravi A

HTML

<link rel="stylesheet" href="https://s3.amazonaws.com/flexmonster/2.3/demo.css">
<script src="https://cdn.flexmonster.com/flexmonster.js"></script>

<div id="pivot-container"></div>

JavaScript

let pivot = new Flexmonster({
  container: "pivot-container",
  componentFolder: "https://cdn.flexmonster.com/",
  width: "100%",
  height: 430,
  toolbar: true,
  report: 
  {
    "dataSource": {
        "type": "json",
        "data": [
            {
                "city": "Toronto",
                "Price": 174,
                "Quantity": 22
            },
            {
                "city": "Washington",
                "Price": 122,
                "Quantity": 45
            },
            {
                "city": "St.Louis",
                "Price": 350,
                "Quantity": 5
            },
            {
                "city": "Dallas",
                "Price": 230,
                "Quantity": 7
            },
            {
                "city": "Los Angeles",
                "Quantity": 55
            }
        ]
    },
    "slice": {
        "rows": [
            {
                "uniqueName": "city"
            }
        ],
        "columns": [
            {
                "uniqueName": "[Measures]"
            }
        ],
        "measures": [
            {
                "uniqueName": "Price",
                "aggregation": "sum"
            },
           
            
            {
                "uniqueName": "Alt Price",
                "formula": "if( sum(\"Price\") >200, sum(\"Price\")  ,200 )",
                "caption": "Alt Price"
            }
        ]
    },
    "version": "2.9.20",
    "creationDate": "2022-03-15T14:13:58.916Z"
}
});