gurusai sankar Posted September 26, 2018 Share Posted September 26, 2018 Hi All, I have the data like Year , Cap cost & Exp cost My requirement is If user will select a aprticular yaer in the filter - It should display first 3 years dynamically (start year , startyear +1, start yaer +2 ) in the side by side barchart (X Axis: Year, Y axis: cap cost & Exp cost in Side by side bar ) Ex: If user selects 2018 - It should display 2018, 2019, 2020 dyanmically Please suggest a right approach or any condition to fix this . ( Note : As per the data -My year coulmn is in String format and unable to chane into date as i am getting empty values) Kindly help on this Regards, Guru Link to comment Share on other sites More sharing options...
Suraj Ullas 2 Posted February 21, 2019 Share Posted February 21, 2019 Can you give more details as what type of filter you are using and some screenshots. Link to comment Share on other sites More sharing options...
Suraj Ullas 2 Posted February 21, 2019 Share Posted February 21, 2019 I think the final answer will be a mix of Rscript + Doc Propoerty for this use case. Link to comment Share on other sites More sharing options...
Shuting Fu Posted February 22, 2019 Share Posted February 22, 2019 You can add a drop-down list document property, and set the property value using unique values in the YEAR column. Then go to the bar chart properties > Data > Limit data using expression, for example: [YEAR] = ${StartYear} OR [YEAR] = Integer(${StartYear}) + 1 OR [YEAR] = Integer(${StartYeaer}) + 2 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now