Forum Discussion
Week Number for a certain date
- 8 years ago
I figured out the issue. There were multiple installments that had the same closing date whcih is what was leading to the wrong values being displayed.
Perhaps the "." after the table name cause the issue, also enclose the table name in single quote as your table namehas space in it.Try the below one.
Column
Est. Close Date Week = WEEKNUM('Close Date'[Date],2)
Thanks
Raj
The I recieve an error code: The syntax for '[Date]' is incorrect. (DAX(WEEKNUM(Installment[Close_Date][Date],2))).
- Anonymous8 years agoNot applicable
Your formula is not correct. Can you share the snapshot of your formula? Or Share the exact formula you used.
Thanks
Raj- mikep75218 years agoHelper III
I know, thats why I'm posting on the forum. I shared the formulas above, those are the two formulas I've tried.
- mikep75218 years agoHelper III
Below you will see the formula I used, as well as the output of that formula. The very first row with the date of 1/15/18 should be week number 3 but I'm receiving 12. why is this?