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
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)
Anonymous never personally done it before but think these 2 links can help
http://www.leanx.eu/tutorials/dynamic-dimensions-in-power-bi
https://gqbi.wordpress.com/2017/01/24/power-bi-how-to-filter-slicers-dynamically/
- Anonymous9 years agoNot applicable
vanessafvg I was looking at those 2 solutions some minutes ago :smileyhappy:
- v-yulgu-msft9 years agoMicrosoft Employee
Hi Anonymous,
Here is an other similar thread which has provided a valid solution to dynamically show X-axis dimension.
Best regards,
Yuliana Gu- Anonymous9 years agoNot applicable