Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

PIVOT table: need to an expression is only function a part of dimension to my pivot table

hi,

i make a QVW for explain my problem;

dimensions: TASK,PROJECT,TIME

expressions: SUM(ACTUAL), SUM(ETC)

Currently my 2 expressions are function of all dimensions in qvw and i would like SUM(ETC) expression is function of only the dimension TASK (not all dimension)

if someone can help me please

4 Replies
boorgura
Specialist
Specialist

Hi,

If you are looking for having TASK as the only dimension for ETC,

then you can use this logic:

sum(TOTAL <TASK> ETC)

Please let me know if it works. Also, feel free to ask if that is what you are not looking for.

Not applicable
Author

thx rocky,

it is i would like in formula but don't in presentation,

currently l have

TIME200820082009200920102010
PROJECTTASKSUM(ACTUAL)SUM( TOTAL <TASK> ETC)SUM(ACTUAL)SUM( TOTAL <TASK> ETC)SUM(ACTUAL)SUM( TOTAL <TASK> ETC)
PROJECT1TASK12158151115
PROJECT2TASK2032303
PROJECT2TASK3310101
PROJECT2TASK4034303
PROJECT2TASK5030313

i would like (i dont want a duplication my expression for each YEAR (TIME)

TIME200820092010
PROJECTTASKSUM( TOTAL <TASK> ETC)SUM(ACTUAL)SUM(ACTUAL)SUM(ACTUAL)
PROJECT1TASK1152811
PROJECT2TASK23020
PROJECT2TASK31300
PROJECT2TASK43040
PROJECT2TASK53001

boorgura
Specialist
Specialist

In that case, you can have that a calculated dimension:

=aggr(sum(ETC), TASK)

And, of course, remove it from Expressions.

(For formatting purposes, please promote that above TIME)

Let me know if this works.

Not applicable
Author

hi rocky,

it works very well and thx for your help and maybe this topic could be help someone else.

PROJECTTASK=aggr(SUM(ETC),TASK)TIME200820092010
PROJECT1TASK10--11
PROJECT2TASK23-2-
PROJECT2TASK313--
PROJECT2TASK43-4-
PROJECT2TASK53--1