Forum Discussion
Splitting Date information into weeks
- 6 years ago
Hi Anonymous
For the live-connection mode, you can add the weeknum using the measure below:
Measure 2 = WEEKNUM(MAX(Table1[Date]),2)
In case you are using a direct query. Then preferably have your date calendar in the database and have weeks define in the database. In case you using the data import, then create a date calendar table wen define week with help of week no
Week = "Week " & weeknum(date[date])
Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution.
In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blogs -Decoding Direct Query - Time Intelligence, Winner Coloring on MAP, HR Analytics, Power BI Working with Non-Standard TimeAnd Comparing Data Across Date Ranges
Connect on Linkedin