Qlik Community

QlikView Layout & Visualizations

Discussion Board for collaboration on QlikView Layout & Visualizations.

Not applicable

Pivot column sum + first sorted value problem

Hi,

I'm using the following expression in a pivot table in order to find the lastest test-result based on a choosen date, which works fine.

Firstsortedvalue({<EXECUTION_DATE={"<=$(=max(Date))"}>} NoRunFlag, -RUN_ID)

However, when choosing several dates the summarization in the pivot table does not work. Say that I have choosen 3 dates, and the flags all return 1, the pivot shows 1 as the column sum instead of 3. Any ideas on how to solve this?

Thanks,

Fredrik

1 Solution

Accepted Solutions
Not applicable

Pivot column sum + first sorted value problem

Solved it by enclosing the expression with sum(aggr(EXPRESSION, dimension)), a good read that reference manual ...

1 Reply
Not applicable

Pivot column sum + first sorted value problem

Solved it by enclosing the expression with sum(aggr(EXPRESSION, dimension)), a good read that reference manual ...

Community Browser