Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Rather than using the week number you can just calculate the date of the start of the week 6 weeks ago and compare it to that.
Something like this.
IsLast6Weeks? =
VAR _Today = TODAY()
VAR _6WeekStart = _Today - (35 + WEEKDAY( _Today ) ) +1
RETURN IF (
[Date] >= _6WeekStart && [Date] <= _Today,
"Last 6 weeks", "False"
)
User | Count |
---|---|
82 | |
80 | |
66 | |
49 | |
46 |
User | Count |
---|---|
104 | |
44 | |
39 | |
39 | |
39 |