Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric certified for FREE! Don't miss your chance! Learn more
Your PreviousWeek is blank because filter conditions weren’t applied correctly.
Fix with FILTER(ALL()) instead of direct column conditions:
VAR _PreviousWeek =
CALCULATE (
SELECTEDMEASURE(),
FILTER (
ALL ( Clubbed_Data_Raw ),
Clubbed_Data_Raw[Week] = MAX(Clubbed_Data_Raw[Week]) - 1 &&
Clubbed_Data_Raw[Year] = MAX(Clubbed_Data_Raw[Year])
)
)
Hi,
this is the wrong blog. For Power BI there is another community group. However, you might use visual calculations, by which you might achieve a your requirement:
https://learn.microsoft.com/en-us/power-bi/transform-model/desktop-visual-calculations-overview
Regards,
Oktay
Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Fabric update to learn about new features.