-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 透视表,列小计的信息是自定义展示数据的,排序的时候没有正常排序 #2788
Comments
你要找的是不是 (You may look for issues):
|
没看懂你的问题, 预期是怎么排? |
代码中 我设置了 “三级” 这一列维度,根据 “P” 这一列的数据排序,但是从图片上看排序是失败的 |
看起来你期望的是在树状模式下, 根据特定数值对一级维度进行排序, 那么树状模式的一级维度本质上就是 所以本质上是对 import { TOTAL_VALUE, EXTRA_FIELD } from '@antv/s2';
sortParams: [
{
sortFieldId: 'C_ee6137b3e25d6d414384c05a902440a7',
sortMethod: 'asc',
sortByMeasure: TOTAL_VALUE,
query: {
[EXTRA_FIELD]: 'C_5f2fa4430c08041fe03b8f637a23e807',
},
},
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🏷 Version
Sheet Type
🖋 Description
数据中 “药店” 只有一条数据,属于列小计的信息,
排序“三级”按照 “P”排序 失效
⌨️ Code Snapshots
🔗 Reproduce Link
🤔 Steps to Reproduce
😊 Expected Behavior
😅 Current Behavior
💻 System information
The text was updated successfully, but these errors were encountered: