Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/angular/31.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
错误透视表syncfusion ej2 angular当我使用减号运算符时-错误语法错误:后缀操作中的左侧表达式无效_Angular_Syncfusion - Fatal编程技术网

错误透视表syncfusion ej2 angular当我使用减号运算符时-错误语法错误:后缀操作中的左侧表达式无效

错误透视表syncfusion ej2 angular当我使用减号运算符时-错误语法错误:后缀操作中的左侧表达式无效,angular,syncfusion,Angular,Syncfusion,我只有在使用运算符负号时才有问题 calculatedFieldSettings: [ { name: 'Binaural', formula: '"Sum(the_order_count)" == "0" ? "0" : ("Sum(the_unit_count)" - "Sum(the_order_count)") / "Sum(the_order_count)" * "100"'}, { name: 'Av', formula: '"Sum(the_order_coun

我只有在使用运算符负号时才有问题

  calculatedFieldSettings: [
    { name: 'Binaural', formula: '"Sum(the_order_count)" == "0" ? "0" : ("Sum(the_unit_count)" - "Sum(the_order_count)") / "Sum(the_order_count)" * "100"'},
    { name: 'Av', formula: '"Sum(the_order_count)" == "0" ? "0" : "Sum(the_order_value_net)" / "Sum(the_order_count)"'},
    { name: 'Avuni', formula: '"Sum(the_unit_count)" == "0" ? "0" : "Sum(the_order_value_net)" / "Sum(the_unit_count)"'},
  ]
返回错误
core.js:6014错误语法错误:后缀操作中的左侧表达式无效

我已经检查了报告的问题。但我们无法重现这个问题。同时,我们已经准备了一个样品供您在角度平台上参考。请检查下面的示例链接

示例链接: