cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Narender Resolver I
Resolver I

Re: Last Five year collection

Hi ,

 

Please see the below screen shot.

 

1.jpg

You can see it is showing year 2015,2016,2017 data. But i want to see only last 2 year data means 2017 and 2018.

Actually i dont have 2018 data thats why it is showing upto 2017 year data not 2018 data.   

 

So how can we show last 2 year data not all year data?

 

 

Narender

 

 

Floriankx Solution Sage
Solution Sage

Re: Last Five year collection

If you want to exclude years from your graph you could add a sclicer for Years

Narender Resolver I
Resolver I

Re: Last Five year collection

Thank you.

 

But I dont want any hard code becuse i want to automatically change year according to last year.

 

 

 

Narender

Floriankx Solution Sage
Solution Sage

Re: Last Five year collection

Hello,

 

given the following table of anual amounts:

YearAmount
2014100
2015125
2016133
2017150
2018

175

 

Would be your expected result?

Narender Resolver I
Resolver I

Re: Last Five year collection

Yes.

But when 2019 year come then it will show from 2015 to 2019.

 

 

Thanks.

 

Narender

Floriankx Solution Sage
Solution Sage

Re: Last Five year collection

So you don't want to sum up the years?

 

If you want to exclude values older than 5 years you could try:

 

Last5YearsOnly=
IF(MAX(Date[Years]>=YEARS(TODAY())-5,[TotalSum],BLANK())

 So you could simply exclude all values older than actual year -5.

Helpful resources

Announcements
‘Better Together’ T-Shirt Contest – Winner Announced!

‘Better Together’ T-Shirt Contest – Winner Announced!

And the winner is...

Announcing the New Spanish Forum

Announcing the New Spanish Forum

Do you need help in Spanish? Check out our new Spanish community section.

April 2020 Community Highlights

April 2020 Community Highlights

Info on our Super Users, MBAS content and badges, and updates to our support articles. - Read the full Community Highlights.

MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

Top Solution Authors
Top Kudoed Authors