Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
zarmoton
Creator
Creator

Seems easy but ...Chart with cumulative (full accumulation) data and sum of cumulative dimension

Hello

I have those data:

YearMonthTypeDataAmount
20121MU9
20121MU1
20122MU10
20122MU5
20121FC2
20121FC3
20122FC1
20122FC2

Can you help me to do this chart like , with cumulative (full accumulation) data in the dimension typedata / year/month, and with a line which is the sum of the diffrent dimension seleced (here in my small example i have only MU and FC, but in reality i have around 10)
ScreenShot.bmp

Thank for your help !

1 Solution

Accepted Solutions
edg_baltazar
Partner - Creator
Partner - Creator

Finally I understand you and I could do it , review the .qvw that im attaching (I've modify somethings) , the only think you need to do is to add one more dimension to the chart, but it has to be a calculated dimension, and you only need the expression Sum(Amount) , its very easy! , please let me know if this help you.

Regards!

View solution in original post

12 Replies
edg_baltazar
Partner - Creator
Partner - Creator

Hello! , To do this you only need to use Set Analysis ... take a look to the qvw that i attach, for a different TypeData value you only have to create a new expression, use the MU or FC expression making a change in the set analysis!

Total expression:

=sum(Amount)

MU expression:

=Sum({$<TypeData={MU}>} Amount)

FC expression:

=Sum({$<TypeData={FC}>} Amount)

zarmoton
Creator
Creator
Author

Hello,

Thk you very much  Edgar for your help

But this is not exactly what i'm looking for.

First, for 2012-2, i want to see the cumulative data from beg of the year (ie 2012-1 + 2012-2)

and second, i would like to have a list box selection with the filed TypeData.

and Select the typedata that i want to chart, with the format that i have described in my introduction.

Regards,

edg_baltazar
Partner - Creator
Partner - Creator

In the expressions tab , select the expression and check 'Full Acumulation'... this will make the accumulation , with the set analysis example that i explained to you in the previous comment you could add a listbox of TypeData and select the TypeData that you only want to Chart. Regards!

Accumulation.png

zarmoton
Creator
Creator
Author

thank yu

For this point : "First, for 2012-2, i want to see the cumulative data from beg of the year (ie 2012-1 + 2012-2)" => It's correct, with Full Accumulation it's working perfectly

Now for my second point, "second, i would like to have a list box selection with the filed TypeData.

and Select the typedata that i want to chart, with the format that i have described in my introduction"

If i add a list box, and i select only one Typedata (for example FC), the line FC should be equal to the line "Total"

In your example, the line MU and FC is always display in the chart , whatever is the selection

Imagine in the data i have FC, MU, and PTR, when i select only FC and PTR, i want the line FC, PTR, and FC+PTR

If i select all FC, MU, and PTR,  i want the line FC, MU , PTR, and FC+MU+PTR

if i select only FC, i want to see only one line FC (total = FC in this case)

edg_baltazar
Partner - Creator
Partner - Creator

Finally I understand you and I could do it , review the .qvw that im attaching (I've modify somethings) , the only think you need to do is to add one more dimension to the chart, but it has to be a calculated dimension, and you only need the expression Sum(Amount) , its very easy! , please let me know if this help you.

Regards!

Not applicable

Dear Edgar,

can you please write down here the formula for the calculated dimension, sadly I cannot open qvws of other ppl...

Many thanks!

zarmoton
Creator
Creator
Author

here is the formula in dimension:

 

 

=

if($Field='TypeData',TypeData ,'TOTAL')

and in Expression a simple :  sum(Amount)

regards,

Not applicable

Thank you for your prompt help!

But it is nort working out, nothing changes when I insert that calculated dimension.

One question: do you have already a pre-filled 'Total' field?

thanks!

zarmoton
Creator
Creator
Author

do you have already a pre-filled 'Total' field? > No

ScreenShot.bmp

ScreenShot.bmp