function(){
var cl = this.category;
var sql = "map('"+cl+"','ds3',1,3)";//使用分类的值,去返回第3列看它是否为A,你改成你自己对应的数据集
//名称与要的列
var value1 = FR.remoteEvaluate(sql);
if (value1 =="A" ){
return this.value;
}
else {
return ((this.value)*100)+"%";
}
}
map函数使用
Map函数- FineReport帮助文档 - 全面的报表使用教程和学习资料 (fanruan.com)