How do I sort the referrenced column? I have ...

(WhiteCrow MD) #1

How do I sort the referrenced column? I have another table which requires data from another table, I wanted the drop down list to appear the latest entry. How can I do this?

(Aleksi Alkio) #2

You can do that with the ORDERBY expression like ORDERBY(SELECT(TableName[KeyColumnName],TRUE),[TIMESTAMP],TRUE)

(WhiteCrow MD) #3

I placed it on the ref and showed error.

(Aleksi Alkio) #4

Would you please show that expression?

(Aleksi Alkio) #5

Where did you put this formula?

(WhiteCrow MD) #6

In the app formula box

(Aleksi Alkio) #7

Change it to Valid_If

(WhiteCrow MD) #8

Thanks it worked. one more question, I tried to make a slice with row filter. AND([Date of Admission]=Now()-1, [Time of Admission]>=“07:00:00”) added that expression but the value of 07:00:00 doesn’t seem to return as 7AM instead as 12/30/1899 7:00:00 AM")


(Aleksi Alkio) #9

That’s the day number 0. Is your slice working correctly?

(WhiteCrow MD) #10

not working properly, I tried to use the “TEST” Should have resulted as false

(Aleksi Alkio) #11

Is your column [Time of Admission] a real Time field?

(WhiteCrow MD) #12

extracted from Date of Admission