cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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] ) )
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 Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

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.

Users Online
Currently online: 170 members 1,918 guests
Please welcome our newest community members: