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.
The I recieve an error code: The syntax for '[Date]' is incorrect. (DAX(WEEKNUM(Installment[Close_Date][Date],2))).
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?
- RMDNA8 years agoSolution Sage
Hi mikep7521,
Can you do it in the back end, or does it need to be a measure? I would just use "Column from Example" in Query Editor; it should pick up the pattern after a few entries.
- mikep75218 years agoHelper III
Could you please elaborate? I'm not familiar with what you are referencing.