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.
I'm thinking:
Fortnight =
VAR __BaseDate = DATE(2019,1,1)
VAR __Days = ([Value].[Date] - __BaseDate) * 1.
RETURN
INT(__Days/20) + 1
Attached PBIX.
I'm thinking:
Fortnight =
VAR __BaseDate = DATE(2019,1,1)
VAR __Days = ([Value].[Date] - __BaseDate) * 1.
RETURN
INT(__Days/20) + 1
Attached PBIX.
Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.
Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!
User | Count |
---|---|
103 | |
58 | |
45 | |
29 | |
24 |
User | Count |
---|---|
133 | |
94 | |
74 | |
44 | |
41 |