cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Sten Frequent Visitor
Frequent Visitor

trying to use last year but get next year

Hi

 

I hope somebody can help me with this problem.

Why do next year and not last year?

 

 

last1.JPGlast2.JPG

 

2 REPLIES 2
rocky09 Senior Member
Senior Member

Re: trying to use last year but get next year

are you trying to get last year sales? it should be something like this.

 

lastyearsales = CALCULATE ( SUM ( 'tablename'[Sales] ), PREVIOUSYEAR ( 'tablename'[Date] ) )
Highlighted
Sten Frequent Visitor
Frequent Visitor

Re: trying to use last year but get next year

And that is excatly what I am doing.
But are getting next year

Helpful resources

Announcements
Ask Amanda Anything Q&A

Ask Amanda Anything Q&A

Learn the answers to some of the questions asked during the Amanda Triple A event.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 134 members 1,527 guests
Please welcome our newest community members: