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

Show last 12 months (no relative dates visual level filter)

Hi people, I have a little issue trying to display some data, I hope you can help me with this.

The thing is I have a line chart with sales by period (nov-2018, dec-2018, jan-2019 and so on) but now I want to display only the last 12 periods based in date selections.

For example, if I pick in my year filter "2018" and in my month filter "October", the line chart should display sales from nov-2017 to oct-2018, and with no selections it should display sep-2018 to aug-2019 (as of today).

That's why a relative dates visual filter isn't of much help, because if I change years, the graph will not follow the applied filters.

 

That would be it. I hope I was able to explain myself as clearly as posible.

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Show last 12 months (no relative dates visual level filter)

Hi,

You may refer to my solution here - Flex a Pivot Table to show data for x months ended a certain user defined month.

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

3 REPLIES 3
Super User
Super User

Re: Show last 12 months (no relative dates visual level filter)

Hi,

You may refer to my solution here - Flex a Pivot Table to show data for x months ended a certain user defined month.

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

kotelo Frequent Visitor
Frequent Visitor

Re: Show last 12 months (no relative dates visual level filter)

It works! Thanks!

But what's the logic behind having two Calendar tables in the data model?

Super User
Super User

Re: Show last 12 months (no relative dates visual level filter)

You are welcome.  One to show within the Pivot Table and the other to use in a slicer.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
New Topics Started Badges Coming

New Topics Started Badges Coming

We're releasing new versions of the badge that everyone's talking about. ;) Check your inbox for notifications.

MBAS 2020

Save the new date (and location)!

Our business applications community is growing—so we needed a different venue, resulting in a new date and location. See you there!

Difinity Conference

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)