Sort expression

Please tell me about the Expression function to sort [Name] in the table "test" in ascending order by [number] in the same table.
Note that ORDERBY(test[Name], [number], TRUE) requires that [Name] be a key value, but [Name] is not a key value. What should I do?

Solved Solved
0 3 123
1 ACCEPTED SOLUTION

Steve
Platinum 5
Platinum 5
3 REPLIES 3

You can corresponding two tables by copying [Name] to first table by link or by formula in virtual column or by action or bot and then sort this (first) table by [Name] as you want

ORDERBY(Test[Unique_ID], [Name]) 

 

supplementally, in case of  [NAME]  column that set  ENUMLIST ,

I want to display  [name] list that is another table and sorted by [number] that is in the same table. 

the table name I want to display   [name] sorted by [number] is "BR"

the table name that [name] and [number] column are in is "test"

I added  orderby(test[name],test[number], true]

in the valid if expression.

ot doesn't work...

Steve
Platinum 5
Platinum 5