Forum Discussion
Anonymous
6 years agoNot applicable
Extracting and comparing ranges
Hello, I've spent a ton of hours trying to find an answer to this problem, but there doesn't seem to be any as far as I can tell. My goal is to create a column that identifies if the date is a wo...
- 6 years ago
what you are looking for is the "IN" keyword. Note it needs curly bracket, unlike in SQL.
WorkingDay = IF('DateTable'[Holiday] IN {"Memorial Day", "Thanksgiving Day", etc}, 0, 1)
your other question is difficult to answer without seeing the data model.
lbendlin
Super User
6 years agowhat you are looking for is the "IN" keyword. Note it needs curly bracket, unlike in SQL.
WorkingDay = IF('DateTable'[Holiday] IN {"Memorial Day", "Thanksgiving Day", etc}, 0, 1)
your other question is difficult to answer without seeing the data model.