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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
naveen341
Creator
Creator

Multiple field values in one column

Hi 

HOw can we multiply field values in one column in Qlikview expression

example

Expected o/p is the product of all numerators: 34*67*86

IDNumeratorExpected O/P
1343534195908
464667195908
633786195908

 

Thanks in Advance

1 Solution

Accepted Solutions
sunny_talwar

Try this

=exp(Sum(log(Numerator)))

View solution in original post

12 Replies
sunny_talwar

Try this

=exp(Sum(log(Numerator)))
naveen341
Creator
Creator
Author

Thanks sum this helped.

One more thing

How do i get (34*64*87) power 1/ count(Numerator)

sunny_talwar

This

=Pow(exp(Sum(log(Numerator))), (1/Count(Numerator)))
naveen341
Creator
Creator
Author

Hey sunny if i have many values exp(Sum(log(Numerator))) is showing inft.
is there any other way we can find product
sunny_talwar

Any calculation which gives inft. based on the above expression.... will give inft. based on other methods as well...

Out of curiosity, what are you multiplying... can you share a snapshot?
naveen341
Creator
Creator
Author

Please find the attached screen shot i want to multiply all the values in second row

sunny_talwar

I am not seeing infinity for either of the expressions I mentioned above

image.png

Are you sure you are using the expression correctly?

naveen341
Creator
Creator
Author

This is the expression i am usingCapture.PNG

sunny_talwar

If you export this chart into Excel and perform this multiplication in Excel, are you able to see a result? My guess is that you have a lot of rows and multiplication can very quickly become a very very big number... a number which QlikView (or even Excel) may not be able to display.

But this is just my theory, let's see what other experts have to say about this

@rwunderlich

@marcus_sommer

@Oleg_Troyansky