This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
(this might be something to do in sql, not alteryx but i am trying to do in alteryx)
I'm reading in a row of data from sql. If today's date is earlier than the 15th of the month (for example, it's June 13, 2018) and the field "TimePeriod" is 201806, ignore the entire line, move to the next. If today's date is earlier than the 15th of the month (for example, it's June 13, 2018) and the field "TimePeriod" is 201805, read in the line. If today's date is the 15th or later, read in the line no matter what. I have the calculation for how to test if it's the 15th or not but I don't know how to do a conditional read on a line which has to be initially read, to be tested, and either thrown out or processed.
The simplest solution would just be to add a filter tool after your Input and have the formula be the calculation you've already created. Then the records you want would be coming out of the T output. Would that work or is there more to it?