Hi Lei, Currently you have to add the "group by" column to the "measure columns" on the data model, so to select it when creating the TopN measure.
We have realized that this is confusing; In next version, the "group by" column of TopN will be from the model's dimensions, please check https://issues.apache.org/jira/browse/KYLIN-2111; 2016-11-07 16:21 GMT+08:00 Alberto Ramón <[email protected]>: > Hello > > Now there are some bugs actives in UI with TopN: KYLIN-2024 > <https://issues.apache.org/jira/browse/KYLIN-2024> KYLIN-2097 > <https://issues.apache.org/jira/browse/KYLIN-2097> > But for SUM you will need choose an Aggr Column > > 2016-11-07 7:28 GMT+01:00 张磊 <[email protected]>: > > > Hi > > When i designer cube, in topn measures, i should choose a measure column > > in SUM|ORDER BY Column and choose a dimension column in Group BY Column, > > But I only can choose a measure column in all SUM|ORDER BY Column and > > Group By Column. > > > > Is it a bug in shown, how can solve it? Thanks! > > > > ORDER | SUM BY Column > > > > > > > > Group By Column: > > > > > > > -- Best regards, Shaofeng Shi 史少锋
