Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

Anonymous
Not applicable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Grouping dates into fortnights
02-26-2020
01:46 PM
Hi everyone,
I'm looking for a solution that will help in grouping dates into fortnights, irregardless of month or year. I'll attach an image to help understand what I am meaning.
It wouldn't matter if the column started at calendar start or a specific date.
The date table I have is just an invoked funtion in M.
Hopefully someone can help, I'm not sure what other information I could provide that would be helpful here.
Solved! Go to Solution.
1 ACCEPTED SOLUTION
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2020
02:08 PM
I'm thinking:
Fortnight =
VAR __BaseDate = DATE(2019,1,1)
VAR __Days = ([Value].[Date] - __BaseDate) * 1.
RETURN
INT(__Days/20) + 1
Attached PBIX.
Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!: Power BI Cookbook Third Edition (Color)
DAX is easy, CALCULATE makes DAX hard...
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2020
02:08 PM
I'm thinking:
Fortnight =
VAR __BaseDate = DATE(2019,1,1)
VAR __Days = ([Value].[Date] - __BaseDate) * 1.
RETURN
INT(__Days/20) + 1
Attached PBIX.
Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!: Power BI Cookbook Third Edition (Color)
DAX is easy, CALCULATE makes DAX hard...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2023
02:37 PM
@Greg_Deckler , absolute genius, but instead of the number how can i get actual date of the fortnight

Helpful resources
Recommendations
Subject | Author | Posted | |
---|---|---|---|
11-29-2023 03:24 PM | |||
11-28-2023 10:37 PM | |||
12-03-2024 02:43 AM | |||
08-21-2024 02:53 AM | |||
02-06-2025 10:43 AM |