Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello
I'm trying to create a Calendar using List.Date function
I got the list correctly and I converted the list to a table
Now I want to create custom columns to have the year, month, etc...
However I'm getting an error saying Token eof expected; what's wrong? please advise
Solved! Go to Solution.
=[Date].Year([Date]) is not a valid formula.
Try duplicating the date column 3 times. Then for each new column, use the menu Transform\Date\Year etc
= Date.Year([Date]) is the correct formula.
So "Date.Year()" is the function and the "[Date]" is it's argument.
Try
Date.Year([Date])
Date.Month([Date])
=[Date].Year([Date]) is not a valid formula.
Try duplicating the date column 3 times. Then for each new column, use the menu Transform\Date\Year etc
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |