cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Super User IV
Super User IV

Re: Full year turnover

Hi @brinky 

 

Sure, you should be able to add it to the calculate as an extra argument like below

Last Sales Year = 
VAR _ly = CALCULATE(
    MAX( 'Calendar'[Year] ) - 1,
    ALL( 'Calendar' ),
    Sales
)
RETURN 
CALCULATE( 
    [Sales],
    INT( 'Calendar'[Year] ) = _ly,
    FILTER( CoffeeDB, CoffeeDB[Brand] <> BLANK() )
)

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Helpful resources

Announcements
New Ranks Launched March 24th!

New Ranks Launched March 24th!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power BI Community!

‘Better Together’ Contest Finalists Announced!

‘Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Arun 'Triple A' Event Video, Q&A, and Slides

Arun 'Triple A' Event Video, Q&A, and Slides

Missed the Arun 'Triple A' event or want to revisit it? We've got you covered! Check out the video, Q&A, and slides now.

Top Solution Authors
Top Kudoed Authors