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.
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.
Week | Period |
1 | 1 |
2 | 1 |
3 | 1 |
4 | 1 |
What functions do i have to look at? Thanks in advance.
Solved! Go to Solution.
@Anonymous , your description is too ambiguous, so I make a guess,
= Table.AddColumn(Source, "Period", each Number.RoundUp([Week]/4))
Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension! |
DAX is simple, but NOT EASY! |
@Anonymous , your description is too ambiguous, so I make a guess,
= Table.AddColumn(Source, "Period", each Number.RoundUp([Week]/4))
Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension! |
DAX is simple, but NOT EASY! |
This is exactly what i mean. Thanks.
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 |
---|---|
114 | |
99 | |
83 | |
70 | |
60 |
User | Count |
---|---|
150 | |
115 | |
104 | |
89 | |
65 |