Forum Discussion
MichaelG1117
Helper I
2 years agoCreating Date Table With "Week Number" Column Without Using Calculated Columns
I can create the AutoCalendar Date Table but need to create one that includes a "Week Number" column also. I cannot use a calculated column so I need to know the language to create the table from scratch (either in Power Query or Dax).
Any help would be greatly appreciated.
Thanks,
Michael G.
HI, MichaelG1117
use addcolumn() functionADDCOLUMNS ( CALENDARAUTO (), "weeknum",weeknum(tablename[datecolumn]) )
2 Replies
- Dangar332
Resident Rockstar
HI, MichaelG1117
use addcolumn() functionADDCOLUMNS ( CALENDARAUTO (), "weeknum",weeknum(tablename[datecolumn]) )- MichaelG1117
Helper I
thanks!