我正在尝试对查询数据透视表进行排序,以便列应按降序排列。
我试过了:=QUERY({Data!A1:C24},"Select Col1, Sum(Col2) group by Col1 pivot Col3 order by Col1 Desc, Col2 Desc")但它告诉我"COL_IN_ORDER_MUST_BE_IN_SELECT: Col2".
除了行之外,有没有办法对数据透视表的列进行排序?
这是一个示例表:https : //docs.google.com/spreadsheets/d/1W8T2BJvSRN_CMdTs1asONEWrDjT3c5yDTFRxh8mSh10/edit?usp=sharing
google-sheets google-query-language google-sheets-query google-sheets-formula