We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
const dv = ds .createView() .source(rawData) .transform({ type: 'map', callback(row) { sumRealityDaily += row['实际每日达成']; sumPredictionDaily += row['预计每日达成']; if (Number(row['日期']) < 4.6) { row['汇总实际每日达成'] = sumRealityDaily; } else { row['汇总预计每日达成'] = sumPredictionDaily; } return row; }, }) .transform({ type: 'fold', fields: ['实际每日达成', '预计每日达成'], // 展开字段集 key: 'type', // key字段 value: 'value', // value字段 });
最后一个transform转换完丢失 '汇总预计每日达成' 字段
The text was updated successfully, but these errors were encountered:
No branches or pull requests
最后一个transform转换完丢失 '汇总预计每日达成' 字段
The text was updated successfully, but these errors were encountered: