楼主:试试这几个函数方法!
ds1.select()和ds1.group()函数的使用-https://help.finereport.com/doc-view-850.html
其他数据集的参数设置为公式,直接引用上一个数据集查询结果对应的单元格