Forum Discussion
tarmogolf
4 years agoAdvocate I
Pay Period Beginning Column
Hi there, looking for a bit of help adding in a "Pay Period Beginning" column to my Date table. The company's pay periods are 1-15th, and 16th-end of month. So if the date in the date table is 6/10/2...
- 4 years ago
Give this a try.
Pay Period Beginnging = VAR _Day = DAY ( [Date] ) RETURN DATE ( YEAR ( [Date] ), MONTH ( [Date] ), IF ( _Day <= 15, 1, 16 ) )
jdbuchanan71
4 years agoSuper User
Give this a try.
Pay Period Beginnging =
VAR _Day = DAY ( [Date] )
RETURN DATE ( YEAR ( [Date] ), MONTH ( [Date] ), IF ( _Day <= 15, 1, 16 ) )- tarmogolf4 years agoAdvocate I
Beautiful, worked perfectly. Thank you so much.