Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in BI by (11.1k points)
How can I calculate WeekofYear date starts from saturday and ends on next friday

1 Answer

0 votes
by (22.5k points)
edited by

Check with this formula

WeekNum = WEEKNUM(DateTable[Date] + 1) +
              IF(WEEKDAY(DATE(YEAR(DateTable[Date]), 1, 1)) = 7, -1, 0)

If u want to know more about the course then check the Power BI Training course

Related questions

0 votes
1 answer
asked Jan 13, 2021 in BI by Chris (11.1k points)
0 votes
1 answer
asked Jan 13, 2021 in BI by Chris (11.1k points)
0 votes
1 answer
0 votes
1 answer
asked Mar 3, 2021 in BI by Chris (11.1k points)
0 votes
1 answer
asked Jan 5, 2021 in BI by Chris (11.1k points)

Browse Categories

...