Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I need to generate a bar chart which then accumulated for a year / month chosen by the user.
However the bar chart display only the 12 months prior to that selected, but the accumulated must be at month chosen by the user.
Full table example:
YEARMONTH | TOT_YEARMONTH | ACUMULATED |
201306 | 895 | 895 |
201307 | 1085 | 1980 |
201308 | 950 | 2930 |
201309 | 1220 | 4150 |
201310 | 1204 | 5354 |
201311 | 1042 | 6396 |
201312 | 1342 | 7738 |
201401 | 864 | 8602 |
201402 | 960 | 9562 |
201403 | 957 | 10519 |
201404 | 1159 | 11678 |
201405 | 1304 | 12982 |
201406 | 1153 | 14135 |
201407 | 1185 | 15320 |
201408 | 1102 | 16422 |
201409 | 1416 | 17838 |
201410 | 1603 | 19441 |
201411 | 1181 | 20622 |
201412 | 1418 | 22040 |
201501 | 512 | 22552 |
The user selects the date 201501, the chart shows the previous 12 months. But the accumulated '201306'
YEARMONTH | TOT_YEARMONTH | ACUMULATED |
201401 | 864 | 8602 |
201402 | 960 | 9562 |
201403 | 957 | 10519 |
201404 | 1159 | 11678 |
201405 | 1304 | 12982 |
201406 | 1153 | 14135 |
201407 | 1185 | 15320 |
201408 | 1102 | 16422 |
201409 | 1416 | 17838 |
201410 | 1603 | 19441 |
201411 | 1181 | 20622 |
201412 | 1418 | 22040 |
201501 | 512 | 22552 |
Or, the user selects the date 201409, the chart shows the previous 12 months. But the accumulated '201306'
YEARMONTH | TOT_YEARMONTH | ACUMULATED |
201309 | 1220 | 4150 |
201310 | 1204 | 5354 |
201311 | 1042 | 6396 |
201312 | 1342 | 7738 |
201401 | 864 | 8602 |
201402 | 960 | 9562 |
201403 | 957 | 10519 |
201404 | 1159 | 11678 |
201405 | 1304 | 12982 |
201406 | 1153 | 14135 |
201407 | 1185 | 15320 |
201408 | 1102 | 16422 |
201409 | 1416 | 17838 |
Bar chart has option of accumulation at the Expression tab of properties.
yes, but accumulates the values are within the chart... I need to accumulate at 201306
You should try doing this in the script if the values are accumulated beginning a certain date.
Best,
S
But apart should be able to make other selections, for that reason I can not doing this ine the script.
Is this what you are looking for? PFA
Best,
S
Yes, that's what I want to get . But the problem is that the user can make other selections, why can not generate the field in the script.
What other selections can the user make? Can you elaborate.
Best,
S
The "ACUMULATED" field is a document counter , the user can select a supplier or a type of document, and recalculate the chart.