let(a, if(fgs~B4 < 0 && fgs~B5 < 4, fgs~B1, ''), a) + "," +
let(b, if(fgs~C4 < 0 && fgs~C5 < 4, fgs~C1, ''), b) + "," +
let(c, if(fgs~D4 < 0 && fgs~D5 < 4, fgs~D1, ''), c) + "," +
let(d, if(fgs~E4 < 0 && fgs~E5 < 4, fgs~E1, ''), d) + "," +
let(e, if(fgs~F4 < 0 && fgs~F5 < 4, fgs~F1, ''), e)
创建相应的报表表格,得出结果
使用let函数,根据在函数中判断
fgs是报表控件的名称,B4等是内容在单元格的位置
使用if判断得出结果