Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
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
Partner - Champion III
Partner - Champion III

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
Partner - Champion III
Partner - Champion III

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