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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.