Forum Discussion
Limiting the chart X axis
Is there a way to limit chart X-axis (when putting date field in Axis) for last 6 or whatever the necessary no of months dynamically?
Hi Anonymous ,
According to your needs, there may be the following ways to get the dynamic months of the past six months. 1. You can add the Date column to slicer, and then filter out the dynamic month you want. 2. You can customize the settings in the filter, and get the data in the past six months as shown in the figure below.
Best Regards,
HenryIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
5 Replies
- parry2kSuper User
Anonymous you can use relative date filtering or check my blog post here
Check my latest blog post Year-2020, Pandemic, Power BI and Beyond to get a summary of my favourite Power BI feature releases in 2020
I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.⚡
- amitchandakSuper User
Anonymous , in case you need it with date refer
- v-henryk-mstfCommunity Support
Hi Anonymous ,
According to your needs, there may be the following ways to get the dynamic months of the past six months. 1. You can add the Date column to slicer, and then filter out the dynamic month you want. 2. You can customize the settings in the filter, and get the data in the past six months as shown in the figure below.
Best Regards,
HenryIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Ashish_MathurSuper User
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.
- JoezhougrobNew Member
you can of course preset parameter to guarantee that it alwasy shows your last 6 month data