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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
SAPpowerbi
Helper II
Helper II

I want last year values based on filter selection .

Hi,

I need values of last year based on below Measure 1 Dax,   so i am using same period last year function

And  I used  TOP- 20 filter on visual level filter on measure 2 then values showing incorrect for last year .

 

Measure 1 = CALCULATE(Sumx(summarize('Combined_Revenue','Combined_Revenue'[Client],"_1",[SL-1  Combined V4]),[_1]),DATESYTD('Calendar'[Date]))

 

Measure 2 = CALCULATE([Measure 1],SAMEPERIODLASTYEAR('Calendar'[Date]))

 

Measure 2 is working fine without Visual level filter for Top 20 values .once i used Top-20 filter then values showing incorrect for last year .

Please help me for the same .

Thank you 

1 REPLY 1
v-yanjiang-msft
Community Support
Community Support

Hi @SAPpowerbi ,

Could you please provide a simply sample to help reproduce the problem?

 

Best regards,

Community Support Team_yanjiang

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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