I got an error “The expression is valid but its result type ‘List’ is not one of the expected types: Date” in REPORT EL table in formula row.
Also, I’ve changed the REPORT EL KEY type to date and all the tables ref to this KEY date. I used Date instead of random number because user has to use the app to record everyday. Not sure if this ok?
I believe Aleksi’s formula suggestion should go in the Valid_If field of your [REPORT ID] column in “Engine 1” table.
justin:
Also, I’ve changed the REPORT EL KEY type to date and all the tables ref to this KEY date. I used Date instead of random number because user has to use the app to record everyday. Not sure if this ok?
I’d suggest using a uniqueid() for the text-type key value, and keep the date separate.
Got it! Hope that there will not be a problem to use date for the key value as the records must have a date and also good to avoid having to many rows (365 days x 25 tables). Too many rows will slow down the sync, won’t it?
apologies for not being clear enough. I wasn’t able to screenshot the full enum for you to see. I want to sort each day (12 months) in numerical order. Screen below.
Hi Justin
I have had this happen with lists before. Sometimes they end up all out of order. It seems a bit random and I dont know why it happens. Possibly Aleksi sort solution would stop this happening. I haven’t tried it. Reloading the view seems to help.