图表所用的数据集里面加上参数就可以了呀
参考决策报表自动查询-https://help.fanruan.com/finereport/doc-view-2085.html
参考这个
https://help.fanruan.com/finereport/doc-view-3556.html?source=4
单一过滤直接用字段='${控件名}'
或者可以用${if(len(控件名)=0,"","and 字段 in ('"+控件名+"')")}