一个人如何在不使用枢轴的情况下崩溃多行数据
我已经在这个论坛上提出了一个问题,即如何崩溃多行的单元格值,其身份号码识别出散布在表格上的学生的记录。其中一些数据集是从Web导入的数据,Pivot将删除NULLS值。这些零是稍后填写的数据,列日期按降序排序,以便在丢弃先前记录时保留最新记录。就像删除重复项并保留最新记录。 https://ibb.co/zh2rxrz 这就是我想要的: https://ibb.co/98HMCJJJ
I have raised a question on this forum, about how to collapse multiple rows of cell values, whose identity numbers , that identify students records spilled across a table..The previous method had some performance issues.i do not what to use pivoting because, some of these dataset are data imported from the web,pivot will remove nulls values. These nulls are data to be filled later The Column date is sorted in descending order, so that the latest records is kept while the previous records are discarded. This like remove duplicates and keep the latest records.I have this query solved before buh the solutions, had some performance issues – see the challenge:
https://ibb.co/zH2RXRz This is what i want:https://ibb.co/98HMCJj
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看起来您正在尝试根据日期列找到每个ID的最新行,
只需对数据进行分组,
然后在新列的顶部使用箭头,然后扩展额外的列
i.sstatic.net/28xvk.jpg 上图的代码:
这是一个版本,将“填充”用于除ID和日期以外的所有列的最新日期。图像下面的示例代码
It looks you are trying to find the most recent row for each ID, based on the Date column
If so, just group the data
then use arrows on top of the new column and expand the extra columns
sample code for image above:
this is a version that does a "Fill up" into latest date for all columns except ID and Date. Sample code for image below