Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does it include the week of the quarter? #31

Closed
ThibaultBagot opened this issue Feb 6, 2020 · 1 comment
Closed

Does it include the week of the quarter? #31

ThibaultBagot opened this issue Feb 6, 2020 · 1 comment

Comments

@ThibaultBagot
Copy link

It'd be interesting to look at the week of the quarter typically from 1 to 13 instead of the 53 annual weeks. What do yo uthink?
Is it already in there?

@marcosqlbi
Copy link
Collaborator

You can just create a column using MOD ( 'Date'[FW WeekNumber] - 1, 13 ) + 1, which works well for 52 weeks (ISO Calendar). Because there are no standards about managing the 53 weeks, you should figure out a business logic that can be good for your requirements. It's hard to create a generic solution for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants