Hi, I have a Single Select field that has the options “This week”, “This month”, “This quarter”. I’d like these to be automatically chosen and updated based on a Date field. The purpose of this is to use a Matrix block to display records by a “Event Type” Single Select on the Y axis and in relative date categories “This week” etc on the X axis. Is this possible, or can anyone suggest a better solution?
Dynamic Single Select field?
Best answer by W_Vann_Hall
Unfortunately formulas in one field can’t drive the content of another field (e.g. a Single Select). A formula field only affects its own content, and the output can only be text (including emojis), a number, or a datetime item. That said, you could still make this work by having a formula output “This week” / “…month” / “…quarter” as text. It wouldn’t be wrapped in a colorful bar, but it would get the job done.
…except @Jon_Edwards wants to feed this into a Matrix Block, which is very particular about its diet.
The only workaround I’ve found — and it’s admittedly not very satisfying — for similar situations has been to create a formula field as you describe adjacent to a single-select field, with the formula’s possible responses matching the single-select’s options. Once I’ve finished with data entry and update, I select and copy/paste the formula column into the single-select column (select source column header, Ctrl-C, select destination column header, Ctrl-V). That’s relatively painless and gives me what I need. However, I’ve never tried to maintain a base where the formula/select options are date-driven, where the values change based on the date the base is accessed, independent of user activity. (In my instances, the formula/select value was calculated based on other, relatively static data and conditions, where it wasn’t likely copy/pasted select values would become invalid simply from aging.)
Login to the community
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
