Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Anonymous
Not applicable

SAMEPERIODLASTYEAR doesn't update on period selection

Hi,

 

I have a period table that has a bi-directional relationship on my date table. 

Nickpw_0-1682594812081.png

When selecting one of the periods the date table filters accordingly, but my measure using SAMEPERIODLASTYEAR does not change. As if it's ignoring the filter on the date table.

Nickpw_1-1682594887692.png

Nickpw_2-1682594901643.png

My measure is this

test = CALCULATE([Sum Gross Sales], SAMEPERIODLASTYEAR('Calendar'[Date]))

 

 

Thanks



1 REPLY 1
lbendlin
Super User
Super User

I have a period table that has a bi-directional relationship on my date table. 

please explain your reasoning for that.

Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.