Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

srikantj
Contributor

Max() function problem

Hi Qlikss

I have a field names sales

sales

2

5

354

678

when i use max(sales) in text object it is giving 678... which is correct

but when i use same function max(sales) in straight table. its giving no value

and i have 10 other fields in straight table.

Qlikss suggest

Tags (1)
1 Solution

Accepted Solutions

Re: Max() function problem

May be this in straight

Sum({<sales = {'$(=Max(sales))'}>}sales)

3 Replies

Re: Max() function problem

May be this in straight

Sum({<sales = {'$(=Max(sales))'}>}sales)

qlikdeez
Valued Contributor

Re: Max() function problem

Whats the expected output?

vardhancse
Valued Contributor II

Re: Max() function problem

out of some 10 fields, only for one table we can set to show max.