This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
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?
Thanks in advance
Solved! Go to Solution.
Hi @Gillard_2
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,
Hi @Gillard_2
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,
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 38 | |
| 38 | |
| 31 | |
| 22 | |
| 15 |
| User | Count |
|---|---|
| 74 | |
| 61 | |
| 31 | |
| 31 | |
| 23 |