Forum Discussion
Change the x-axis dynamically
- 9 years ago
Hi Anonymous,
Here is an other similar thread which has provided a valid solution to dynamically show X-axis dimension.
Best regards,
Yuliana Gu
Anonymous why dont you create a hierarchy?
- Anonymous9 years agoNot applicable
vanessafvg For some charts, I will, don't worry. The problem is, I need to reflect this Axis Dimension in several charts & KPI's as well.
I am also using the custom visual found here. So when the user selects Yearly, Quarterly, Monthly, etc, the Trend Axis in the KPI Indicator needs to also change accordingly.
Any idea on how to do this?
Thanks in advance.
Kind regards,
Yogesh
- vanessafvg9 years agoCommunity Champion
Anonymous please post screen shots it really hard to visualise what you saying without providing examples and then also of what you actually wanting it to look like
- Anonymous9 years agoNot applicable
The column chart below uses a Date Hierarchy which enables the user to drill down Year->Quarter->Month->Week->Day.
However, for the KPI's below, you need to specify a Trend Axis.
By default I have used the column MonthInCalendar. However, this axis needs to be dynamic. In simple english:
Trend Axis =
IF Yearly OR Monthly THEN MonthInCalendar
ELSE IF Quarterly THEN QuarterInCalendar
ELSE IF Daily THEN DateInCalendar
ELSE MonthInCalendar (default)