Forum Discussion
kcantor
10 years agoCommunity Champion
Need help creating week number
I have a project that I am working on with a simplified calendar used as a DimDate. This calendar has: Date, Year, Month, Quarter, Month Name, Day of Week, Week Number, and YearMonth. What it does no...
- 10 years ago
yes. I started out with serial number 2 as that is what I was told the program used. It turns out that our Navision uses ISO. I had created week numbers using serial number 2 but was able to correct the informaiton chaning it wo week serial number 21.
Happy to know I was not the only one using 2.
chadhanitin
10 years agoNew Member
I added WEEKNUM([createdAt],2) but kept on getting error - "Expression error: The name 'WEEKNUM' wasn't recognized. Make sure it's spelled correctly"
I am connecting to mysql database ..
ShadiAyoub
7 years agoNew Member
Try this:
Date.WeekOfYear(#date)
#date = The column that contains your date.