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.

July Newsletter

Fabric Community Update - July 2024

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