比如以聚合汇总函数为例
1。aggregate([本期值] for [location])
2。aggregate([本期值] for all [location])
3。aggregate([本期值] for any [location])
4。aggregate([本期值] for report)
1。aggregate([本期值] for [location])
-->表示[本期值]只为[location]聚合计算,相当于
01.select [location],xsum([本期值]) from table group by [location]
复制代码2。aggregate([本期值] for all [location])
-->如[中国],all表示为所有和 [中国] 同层次的国家聚合。
3。aggregate([本期值] for any [location])
-->等同于1。如[中国]有子集[省]、[市]等,any表示为所有子集聚合运算
4。aggregate([本期值] for report)
-->等同于aggregate([本期值]),根据实际展示的维度整体分组聚合运算
如友5个查询项,则group by {5个查询项}