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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to get cell from table

Hello there, I got a pivot table object. In one column i got some integer data displayed as Expression. The rows are like this:

Header 1
1600
0
0
0
2323
0
0

I need to replace first 3 zeros with 1600 and last two with 2323. The numbers are generated by formula with some data from Data base like this:

=sum({<[Вид запис]={6}>} if([Продуктова група]='TRF-N' or [Продуктова група]='TRF-R' or [Продуктова група]='SWH-PF' or [Продуктова група]='FS-PF' or [Продуктова група]='KL-PF' or [Продуктова група]='ELB-M' or [Продуктова група]='ELB-MAN' or [Продуктова група]='ELB-SPEA' or [Продуктова група]='ELB-PLAST' or [Продуктова група]='IGN-PF',0,[Количество по допълнителна мярка])).

In excel that is easly done but is that posible in qlikview?

Labels (1)
1 Solution

Accepted Solutions
israrkhan
Specialist II
Specialist II

you can use Previous() function in load script, like

if (sum(Amount) = 0, Previous(sum(Amount)), Sum(Amount))

or in the front end, use Before() or above() function.......

View solution in original post

2 Replies
israrkhan
Specialist II
Specialist II

you can use Previous() function in load script, like

if (sum(Amount) = 0, Previous(sum(Amount)), Sum(Amount))

or in the front end, use Before() or above() function.......

Not applicable
Author

Above(.....(column number or name))  Thanks alot. For the current scenario  if(.....=0,Above([Header 1]), .........)