Forum Discussion
jmscrx
4 years agoHelper I
Relative Date - Axis Labels?
I have a simple set of tables with stacked column chart visuals. Now that I have more than 1 year of monthly data, I'm attempting to change the visual to show the most recent 12 months. As an example...
- 4 years ago
Hi, jmscrx
You have two choice:
- Manually drag the date column into the visual filter pane, and then you can also set the relative date in filter pane, and the data will still display the corresponding results.
- Using custom format function in model view, set date format 'MMM YY', then you can get dates like 'Jan 21', This won't change your data type.
Like this:
Did I answer your question? Please mark my reply as solution. Thank you very much.
If not, please feel free to ask me.Best Regards,
Community Support Team _Janey
jdbuchanan71
4 years agoSuper User
Take a look at this article about how to create a chart friendly mmm yy field that is still a date field. When you make one with FORMAT that is a text field.
https://www.sqlbi.com/articles/creating-a-simpler-and-chart-friendly-date-table-in-power-bi/