Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Show total disregarding calculated dimension

Hi all,

I need to show the last 15 dimension-values inside a chart-diagram which sums values. Showing the last 15 dimensions-values can be managed through a calculated dimension, but the sum is calculated for this dimension-values only.

However, I need to sum up the total, disregarding the calculated dimension.

Please see the attached screenshot and the QVW as example.

Any ideas?

Thanks,

Eva

calc_dim.png

1 Solution

Accepted Solutions
jagan
Luminary Alumni
Luminary Alumni

Hi,

Try like this

Dimension: YearWeek

Expression:

=If(RowNo()=1, $(=Sum({<YearWeek={'<= 201420'}>}Value)) ,

Sum({<YearWeek={'>= 201420'}>}Value))

Hope it helps you.

Regards,

Jagan.

View solution in original post

2 Replies
jagan
Luminary Alumni
Luminary Alumni

Hi,

Try like this

Dimension: YearWeek

Expression:

=If(RowNo()=1, $(=Sum({<YearWeek={'<= 201420'}>}Value)) ,

Sum({<YearWeek={'>= 201420'}>}Value))

Hope it helps you.

Regards,

Jagan.

Not applicable
Author

Hi Jagan,

this is working! Thank you 🙂

Regards,

Eva