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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

different aggregation with different dimension

I am have the following data set

fund, sector instrument_symbol, date,position

1, energy, GOOG,1/1/11, 30.56

1, energy, GOOG,1/2/11, 29.56

1, energy, GOOG,1/1/11, 30.56

1, energy, GOOG,1/1/11, 29.56

1, tech, IBM,1/1/11, -50.5

3, energy, MSFT, 3/2/11, 29.56

3, energy, GOOG, 3/2/11, 19.01

How do I create a pivotable that 1) when it aggregate the position on fund sector instrument level it will keep the decimial (no rounding) and 2) when it aggregate on the fund sector level it will round the aggregated position to the nearest integer. 3) When it round anything above the sector level (ie fund) it will aggregate using the rounded position from the fund sector aggregation?

I can get 1 and 2 working with aggr and dimensionality but not 3

0 Replies