Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hi @happy16_2023 ,
Based on your description, I have created a simple sample:
Please try:
Measure =
CALCULATE (
AVERAGE ( 'Table'[Value] ),
FILTER (
ALL ( 'Table' ),
WEEKNUM ( 'Table'[Date] ) <= WEEKNUM ( MAX ( 'Table'[Date] ) )
&& WEEKNUM ( 'Table'[Date] )
>= WEEKNUM ( MAX ( 'Table'[Date] ) ) - 3
)
)
Final output:
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @happy16_2023 ,
Based on your description, I have created a simple sample:
Please try:
Measure =
CALCULATE (
AVERAGE ( 'Table'[Value] ),
FILTER (
ALL ( 'Table' ),
WEEKNUM ( 'Table'[Date] ) <= WEEKNUM ( MAX ( 'Table'[Date] ) )
&& WEEKNUM ( 'Table'[Date] )
>= WEEKNUM ( MAX ( 'Table'[Date] ) ) - 3
)
)
Final output:
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@happy16_2023 Rolling Weeks - Microsoft Power BI Community
User | Count |
---|---|
12 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
19 | |
14 | |
10 | |
7 |