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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Nickpw
Frequent Visitor

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors