Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
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.
User | Count |
---|---|
139 | |
113 | |
103 | |
73 | |
63 |
User | Count |
---|---|
136 | |
125 | |
107 | |
70 | |
61 |