Forum Discussion
Anonymous
8 years agoNot applicable
New Column using IF and DATESBETWEEN causing Error
I'm trying to create a set of columns that show either the date or null value based off an IF and DATESBETWEEN calculation. Essentially, I need to create a column for each year that is respresented...
- 8 years ago
Anonymous,
Just use DAX below.
Column = IF ( YEAR ( 'Case'[a_CreatedDateOnly] ) = 2018, 'Case'[a_CreatedDateOnly] )
v-chuncz-msft
8 years agoCommunity Support
Anonymous,
Just use DAX below.
Column = IF ( YEAR ( 'Case'[a_CreatedDateOnly] ) = 2018, 'Case'[a_CreatedDateOnly] )
- Anonymous8 years agoNot applicable
Thank you Sam! I guess I tried to make it way too complex. This worked perfectly.