The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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.
Solved! Go to Solution.
HI, @MichaelG1117
use addcolumn() function
ADDCOLUMNS (
CALENDARAUTO (),
"weeknum",weeknum(tablename[datecolumn])
)
HI, @MichaelG1117
use addcolumn() function
ADDCOLUMNS (
CALENDARAUTO (),
"weeknum",weeknum(tablename[datecolumn])
)
thanks!
User | Count |
---|---|
28 | |
11 | |
8 | |
6 | |
5 |
User | Count |
---|---|
35 | |
14 | |
12 | |
9 | |
7 |