Forum Discussion
ealiisl
1 year agoNew Member
How to make Lists from Date column.
I have a one column with dates from year 2021 to year 2024. From this, how can i make seprate columns for each year.
4 Replies
- SamWiseOwl
Super User
- ealiislNew Member
Hello Sam:
unfortunately not like this. i dont want to count the occurances. I want each year in seprate column because every cell has different date.
- ryan_mayu
Super User
pls provide some sample data and expected output
- Bibiano_Geraldo
Super User
Hi,
Create a new Calculated column by this DAX Code:YearColumn = YEAR('YourTable'[DateColumn])Or by:
YearColumn = FORMAT('YourTable'[DateColumn],"Yyyy")