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.)
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
