Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Dear All,
I made some line chart as below, with 2019 in fiscal year YTD in the dimension. I want to make the 2019 looked like '2019 YTD' instead, like red font indicated, and still can be ranked in '2016, 2017,2018, 2019YTD'. Is there anybody having this experience or advices?? thanks!
Hi, Vince
In your qvf file, I just copy the expression and it works, please refer below screenshot.
and I also attached the modified qvf as well.
Let me know if it is still a problem.
ZZ
Hi, Huichunchang
Please see my solution below
Hope this helps
ZZ
thanks for your time, I have tried as per your advices, but the result still kept same as below.
Strange, I used it on a random app i have and the example you gave above is working fine for me.
Set e_current_year = "= MAX(calendar.year)";
=if(calendar.year >= 2014, if(calendar.year = e_current_year, calendar.year & ' YTD', calendar.year));
Result on image:
if your chart has null() values within the dimension added to the chart it will allow you to deselect Include null values.
Doing that will remove the "-" dimension with its measurements.