cancel
Showing results for
Did you mean:
Frequent Visitor

## Create Period Column

I currently have a date table with dates for the next five years.

I would like to create a new Period Column that is 13 four week periods starting on a specified date?

1 ACCEPTED SOLUTION

Accepted Solutions
Microsoft

## Re: Create Period Column

You may create a rank column and use IF condition to get the column.If it is not your case,please share more details for us so that we could help further on it.For example:

Rank = RANKX('Date','Date'[Date],,ASC)
Column = IF('Date'[Rank]>=5&&'Date'[Rank]<=5+7,"week1",IF('Date'[Rank]>=5+7&&'Date'[Rank]<=5+7*2,"week2"))

Regards,

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Microsoft

## Re: Create Period Column

You may create a rank column and use IF condition to get the column.If it is not your case,please share more details for us so that we could help further on it.For example:

Rank = RANKX('Date','Date'[Date],,ASC)
Column = IF('Date'[Rank]>=5&&'Date'[Rank]<=5+7,"week1",IF('Date'[Rank]>=5+7&&'Date'[Rank]<=5+7*2,"week2"))

Regards,

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Announcements

#### Exclusive LIVE Community Event #3 – Ask Arun Anything

Join us in the third Triple A event!

#### Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

#### Super User Challenge: Can You Solve These?

We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.

#### Power BI Desktop Update - February 2020

We are super excited for our update this month, as we are releasing two of our top community requests!

#### Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

Top Solution Authors
Top Kudoed Authors