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: 
fmazzarelli
Partner - Creator III
Partner - Creator III

expression

hi,

a simple question (I hope)

Using expression, is it posible divide a value?

How to do it?

Example

field: invoice_number

files: total_value

new fields: Total_value / (count(invoice_number))

5 Replies
swuehl
MVP
MVP

In general, you shold use aggregation functions around every field in an expression.

Maybe like

=SUM(Total_value) / COUNT(invoice_number)

PabloOrtiz
Partner - Creator
Partner - Creator

!Hello Fabio, attached an simple example, maybe you help

fmazzarelli
Partner - Creator III
Partner - Creator III
Author

Immagine.png

hi, your suggest is fine.

but if i create a chart (digital display), I obtain this result?

What is it wrong?

swuehl
MVP
MVP

The expression itself is working e.g. in a text box?

Can you upload a small QVW sample file?

fmazzarelli
Partner - Creator III
Partner - Creator III
Author

thanks for your suggest.

It's works