Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I know this is a known issue but I just can't get my Previous Year Weekend Measure to Sum Correctly in my matrix table. I know I'm missing somethign small but just can't figure it out. Any help would be appreciated!
LY-W =
VAR getdate = MAX ( 'DSR'[InvoiceDate] )
VAR wot = WEEKNUM (getdate,1)
VAR ly = YEAR (getdate)-1
RETURN
SUMX(
VALUES('Calendar'[PY Weekend]),
CALCULATE(SUM('DSR'[TotalSale]),
FILTER (
ALL ( 'Calendar' ),
WEEKNUM('Calendar'[Date],1) = wot
&& Year('Calendar'[Date]) = ly
)
))
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 5 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 24 | |
| 21 | |
| 15 | |
| 12 | |
| 10 |