Iām pretty new to all this and Iām still really struggling with a lot of the coding and relationships between different tables and views but here are some of the things Iāve struggled with recently.
Calculating total days spent by someone, when they have multiple different tasks which may fall on the same day.
Using the Filter Function in different scenarios.
Could you expand on these concepts for those that donāt know how to do it and stumble on this thread? I.e.: How do you reverse lookup / search a table?
Using a formula to generate the visual row numbers (not RowID). There is a Find() variant that works for many of my cases, but it was not easy to locate. It was extra confusing (and still can be) since the numbers appear left of the rows (i.e. it seems like something that there is a formula for).
Thanks for the suggestions so far - I have added them to the doc.\
@GJ_Roelofs - Once I have the list I will pass it onto our product team to make in product improvements and we can also work on expanding these concepts and providing link and help for them.
@Juan_Luis_Chulilla - good suggestion. For now can you just mention them in the thread please - would also love to know why you found something hard or how you learnt about it.
For me itās understanding how to use formulas for something I can describe in words but am unsure how to actualize in the Formula logic. For instance, if thereās a value in a cell, then do X. I found the documentation on the Formulas a little dense (Iām not an engineer) so turning to Community and Help chat was integral to my success.
That you can copy content from a āview onlyā doc and place it in a doc you are the owner of.
Automatically you will be able to see all formulas used!
Important: if the content you copy has ārelated tablesā, ācontrolsā and "formulas"over more pages, itās important to take them with you. (see doc map)
Say, I want to get a cell value from the first row of a table.
Following the top-down logic, Iād first select the table, then the row, then the cell, i.e. write the formula like this: [Table name].First().[Column name]
But this wonāt work! The correct order of selection is: table -> column -> row: [Table name].[Column name].First()
This feels wrong, because it feels like Iām making Coda first pull all the values for the column for possibly hundreds of rows, to discard everything but the first one. I assume Coda devs were smart enough and optimized this so that Coda wouldnāt actually pull the whole column, but still it feels counterintuitive.
Interesting that if you separately calculate a row (e.g. in a named formula or a single value lookup cell), then you can select a cell from that row just fine:
P.S. The counterintuitiveness shines when the cell is actually a list of values, and you need to only select the first value from that list.
[Users].First().[Tasks].First() ā invalid [Users].[Tasks].First().First() ā way to go
I feel like this could be in the āhard to discoverā category and may be worthy of itās own formula? Iām surprised more users donāt need an age calculation!