Forum Discussion
DAX Year() Not Returning the Year
- 10 years ago
Hi @Dave,
When you adding a calculated column using Year() DAX function, it builds an integer a column.
And by default, all integer cols are summarized by using sum, that's why you have the total under your year column.
Open you model, select your table and "year" column, go to "Modeling" menu and change the property "Default Summarization" from "Sum" to "Do not summarize"
Hi @Dave,
When you adding a calculated column using Year() DAX function, it builds an integer a column.
And by default, all integer cols are summarized by using sum, that's why you have the total under your year column.
Open you model, select your table and "year" column, go to "Modeling" menu and change the property "Default Summarization" from "Sum" to "Do not summarize"
Thank you much! Setting the "Default Summarization" to "Do Not Summarize" resolved my issue. Also, thanks for all input on when to use M vs DAX.