简体   繁体   English

点火中的自定义实数

[英]custom sort of Real numbers in spotfire

Could anyone help me on how to custom sort on real numbers in spotfire 7.11.任何人都可以帮助我了解如何在 spotfire 7.11 中对实数进行自定义排序。

This is my data before sorting (I can implement this in excel but not in spotfire):这是我在排序之前的数据(我可以在 excel 中实现,但不能在 spotfire 中实现):

A   B   C
1   3   1
2   4   2
3   2   3
4   1   4
5   4   5
6   5   6
7   6   7
6   7   8
8   1   9
9   0   10

This is the custom sorting condition:这是自定义排序条件:

在此处输入图像描述

This is the data after custom sorting.这是自定义排序后的数据。

A   B   C
6   7   8
7   6   7
6   5   6
5   4   5
2   4   2
1   3   1
3   2   3
8   1   9
4   1   4
9   0   10

I tried adding the columns A and B, creating a new calculated column and sort the column in descending order.我尝试添加列 A 和 B,创建一个新的计算列并按降序对列进行排序。 But, it's wrong approach.但是,这是错误的做法。

I tried using this formula - (5 * [A]) + (10 * [B]) and calculate a new column and then sort them using descending order.我尝试使用这个公式 - (5 * [A]) + (10 * [B]) 并计算一个新列,然后使用降序对它们进行排序。 But, I think it's wrong approach.但是,我认为这是错误的做法。

Can anyone help me to implement this with spotfire?谁能帮我用spotfire实现这个? I tried checking the custom sort in edit -> Column Properties but I couldn't find this function in spotfire.我尝试在编辑-> 列属性中检查自定义排序,但在 spotfire 中找不到这个 function。

Ok.好的。 I sorted the first column to be sorted and then I used SHIFT + CTRL + clicked the second column to be sorted.我对要排序的第一列进行了排序,然后使用 SHIFT + CTRL + 单击要排序的第二列。 It works for me !这个对我有用 !

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM