Sort data of enum type

My column in google sheet is enum. It had only 1 (one) data at initial.
After a time input data, there are many datas in this field.
Kindly help me know:

  1. How could I sort these data?
  2. Where new data (CH05, CH10, ABCโ€ฆ) were wrote in my app?


Regards,

0 18 405
18 REPLIES 18

If you are allowing other values, rather than using the preset approach I might suggest using the โ€˜Suggested Valuesโ€™ instead. If you do this your suggested values might be:

SORT(ThisTableName[ThisColumnName], true) to sort ascending

Thank you for your support.
After change fomular, the โ€œAdd or searchโ€ bar was disappeared.
I also want to keep it for additional data without existing list.
Please kindly requested instruct me how could I do?
Regards,

3X_f_5_f5b733317a8dd5431840b0dcc9ff0db86a49533e.png

Can you provide a screen shot of the entire column set up including the โ€˜Auto computeโ€™ section? It might take 2 screen shots to capture all of it.

Yes, offcouse. This is first one.

This is second.

Scroll down further in the same window from the first screen shot and provide what is at the bottom.

This is 1 more if you need additional info,

Remove the expression in Valid If and have the same expression in โ€˜Suggested Valuesโ€™ under Auto compute section instead. Then also remove everything from โ€˜Valuesโ€™. I think that should do it.

After remove as your instruction, the resulr become as before: the list was not sort.

Can you provide the screen shots again after you made the changes? Please include โ€˜Suggested Valuesโ€™ under Auto Compute in one of the screen shots.

Yes. I have divide 2 shot:

the second:

Please expand the highlighted section

Yes. Nothing at there. It was deleted as your instruction. Please!

Can you try similar expression, using ORDERBY instead of SORT ?
In the โ€œsuggested valueโ€ field
Such as

ORDERBY(
     tableName[key_column],
     [sortColumn],
     FALSE
)

In this specific case ORDERBY would not work. Typically Orderby would take the IDs, so it would treat it as a reference which is not the case.

Move your

SORT(ThisTableName[ThisColumnName], false) to the โ€˜Suggested Valuesโ€™ expression

Everything is ok now! I donโ€™t know how to say thanks with your help!
Thank you again.

Top Labels in this Space