Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
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

Labels (1)
1 Solution

Accepted Solutions
rwunderlich
MVP
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
MVP
MVP

Just remove the Dimension from your chart?

-Rob

souadouert
Specialist
Specialist
Author

hahah ROB and test1 ??

rwunderlich
MVP
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

tresB
Champion III
Champion III

souadouert
Specialist
Specialist
Author

ROB thank y very much i resolved with TOTAL

rwunderlich
MVP
MVP

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

-Rob