Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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,
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
117 | |
104 | |
77 | |
73 | |
52 |
User | Count |
---|---|
145 | |
109 | |
109 | |
90 | |
64 |