cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DannyVerdel
Frequent Visitor

4 week periods based on weeks

Hello everyone, I have a date table and want to create a column for the period. 1 period = 4 weeks. So the table would have to look like this. 

WeekPeriod
11
21
31
41

What functions do i have to look at? Thanks in advance.

1 ACCEPTED SOLUTION
CNENFRNL
Community Champion
Community Champion

@DannyVerdel , your description is too ambiguous, so I make a guess,

= Table.AddColumn(Source, "Period", each Number.RoundUp([Week]/4))

Screenshot 2021-02-14 021605.png

View solution in original post

2 REPLIES 2
CNENFRNL
Community Champion
Community Champion

@DannyVerdel , your description is too ambiguous, so I make a guess,

= Table.AddColumn(Source, "Period", each Number.RoundUp([Week]/4))

Screenshot 2021-02-14 021605.png

View solution in original post

This is exactly what i mean. Thanks. 

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power BI October Update 2021.jpg

Power BI Release

Click here to read more about the October 2021 Release!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Teds Dev Camp Oct. 2021 768x460.jpg

Power BI Dev Camp - October 28th, 2021

Mark your calendars and join us for our next Power BI Dev Camp!