Please let me now how can I extract the number of days a particular month has. Example If January is selected in a enum which has all months listed, it should show it has 31 days or if April is selected it should show 30 days.
Thanx.
Solved! Go to Solution.
Somethingl ike below
First Column Type Enum called say [MonthsSelect]
valid If of this column {โJanuaryโ, February", โFebruary-Leapโ, โMarchโ, โAprilโ, โฆ,โNovembrtโ, โDecemberโ}
Second Column Number type called say [MonthDays]
App formula for [MonthDays]
SWITCH([ MonthsSelect], โJanuaryโ, 31, โFebruaryโ, 28, โFebruary-Leapโ, 29, โMarchโ, 31,โAprilโ, 30, โฆ,โNovemberโ, 30, โDecemberโ, 31, 30)
User | Count |
---|---|
44 | |
31 | |
29 | |
14 | |
14 |