Forum Discussion
Change WEEKNUM start
- 7 years ago
Hi. The easiest way I figure out right now is adding a new custom column with Power Query in the same table that has the Date Column. The code should be like this:
Number.RoundUp(Date.DayOfYear([Fecha]) / 7)
Hope this help.
Regards,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi. The easiest way I figure out right now is adding a new custom column with Power Query in the same table that has the Date Column. The code should be like this:
Number.RoundUp(Date.DayOfYear([Fecha]) / 7)
Hope this help.
Regards,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
ibarrau, thank you for the suggestion! Your solution triggered the idea to just use the round function directly in Power BI > Modeling > New Column.
- ibarrau7 years ago
Super User
Great! did the post solve your problem? if so, please mark it as solution, if not please let me know how can I continue helping you :)
Regards,