Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
souadouert
Specialist
Specialist

expression without dimension

I have a table with the expression test1 and test:

TEST1:

if((sum({<REAL_PACKS.LIB_TYPE_PACK={"SAFIR PRO","ELITE (ex PREMIUM)","PLATINUM","SAFIR","ELITE PRO","PLATINUM PRO"},REAL_PACKS.PROD_PACK={"1"}>}REAL_PACKS.NOMBRE_PACK)

/

(sum({<ANNEE_OBJECTIF={$(=Max(YEAR))},MARCHE_OBJECTIF={"PP"},OBJ_PACK.TYPEPACK={"ELITE","PLATINUM","SAFIR","SAFIR PRO"}>}OBJ_PACK.PACK_OBJ/100*60)/6*MAX(MONTHNUM)))*100>200

,2,

sum({<REAL_PACKS.LIB_TYPE_PACK={"SAFIR PRO","ELITE (ex PREMIUM)","PLATINUM","SAFIR","ELITE PRO","PLATINUM PRO"},REAL_PACKS.PROD_PACK={"1"}>}REAL_PACKS.NOMBRE_PACK)

/

(sum({<ANNEE_OBJECTIF={$(=Max(YEAR))},MARCHE_OBJECTIF={"PP"},OBJ_PACK.TYPEPACK={"ELITE","PLATINUM","SAFIR","SAFIR PRO"}>}OBJ_PACK.PACK_OBJ/100*60)/6*MAX(MONTHNUM))

)

TEST:

I WANT TEST ELIMINATES THE DIMENSION AGENCY IS TO SAY POSSIBLE EXPRESSION OF ALL AGENCIES

c1.PNG

1 Solution

Accepted Solutions
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Ok, I understand.

Use the TOTAL keyword within the aggregation functions of TEST (Sum & Max) to ignore dimensions.

-Rob

View solution in original post

7 Replies
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Just remove the Dimension from your chart?

-Rob

souadouert
Specialist
Specialist
Author

hahah ROB and test1 ??

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Ok, I understand.

Use the TOTAL keyword within the aggregation functions of TEST (Sum & Max) to ignore dimensions.

-Rob

souadouert
Specialist
Specialist
Author

I apologize rob I am beginner, you can better explain, i dont know key word TOTAL

tresesco
MVP
MVP

souadouert
Specialist
Specialist
Author

ROB thank y very much i resolved with TOTAL

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

The Help function in QlikView has some good examples of TOTAL as well.

-Rob