Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have a line chart where the X-Axis is a label and looking to have vertical reference lines.
Some background:
Does anyone have any clever tips on how I could leverage the ID’s on the x-axis, but display the ID’s associated labels instead? Any help is appreciated.
Attached is my QVW.
Maybe like this (the dimension should be created in the script with an underlying numeric date value, then format the x-axis dimension values on number tab).
Create your dimension values as dual values:
Maybe like this (the dimension should be created in the script with an underlying numeric date value, then format the x-axis dimension values on number tab).
Thanks swuehl! Looks like I need to convert this into a date field to achieve what I'm looking for.
Appreciate the response!
Hi,
I just stumbled upon your solution. She has helped me before, thank you very much! The problem I have is:
If I read my dimension as date#(weekyear, 'DD-YYYYY') (weekyear is dual and e.g. 43-2017) and then display it in the back of the number tab, then it goes to e.g. 31-2017 and starts again at 01-2017. Sure, because DD stands for the days and there are no more than 31 days. I already tried to read it as timestamp#(weekyear, 'mm-YYYYY') (since there are 60 minutes and only 52 weeks should be enough) but that doesn't really work. Do you have any ideas with which I can display the weeks larger than 31 correctly?