Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago

Precedence filter or SAMEPERIODLASTYEAR?

I see in a .pbix  the next filter page:   IsCurrentFY is 1

 

And… I also have the next measure for Last Year:   CALCULATE( xyz, SAMEPERIODLASTYEAR( 'Date'[Date] ) )

 

The visualization displays correctly; comparing xyz this year vs last year… I am wondering…

 

Why  IsCurrentFY is 1  doesn’t take precedence? Is it that SAMEPERIODLASTYEAR overrides any filter?

2 Replies