Sony - Posted August 14, 2019 Share Posted August 14, 2019 Hi All, I have bar chart showing month wise values ( X axis - Month, Y axis - values). If i will select March bar from the bar chart, on another table data from Jan - March will show. So basically whatever month I will select from the bar chart, another table will always show the data from Jan - selected Month. My approach : Created on bar chart & one table. One marking on the bar chart , but the table data is not limited by the marking. On data limiting of the table i can write a condition WHERE [MONTH_NUM] Link to comment Share on other sites More sharing options...
Stefan Hansen 2 Posted August 14, 2019 Share Posted August 14, 2019 Is there a reason you do not use limit by marking in the secondary table For the month example you mention, limiting the second table by marking will show you what you where looking for. Link to comment Share on other sites More sharing options...
Sony - Posted August 14, 2019 Author Share Posted August 14, 2019 Hi Stefan, if i will limit second table on marking & select May bar, then data for only May will be shown in the table. But my requirement is to show data from Jan - May in the table. Link to comment Share on other sites More sharing options...
Uwe Baier Posted August 16, 2019 Share Posted August 16, 2019 a posibility I see is via adding a small data function which gets as input (in) the MONTH_NUM column (limited to the same marking used in the bar chart). Output (out) of the data function will be a document property let's call it maxSelectedMonth. the data function script would be out <- max(in) automatically triggered this df will write the max from the selected months into maxSelectedMonth. your limit data expression will look like [MONTH_NUM] <= ${maxSelectedMonth} 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