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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

urgent help need

i m making the site column in my chart like this.

if(Left(location1,2)='V7','DSI',if(Left(location1,2)='V8','SML',if(location1='V956','non foot',if(location1='D12','67WS')))) as site

now i want to get Sum(saleQty) only to site fields. how can i use set analyse to this?

Labels (1)
5 Replies
srchilukoori
Specialist
Specialist

please post a sample app

Not applicable
Author

Use below in Dimension of Either straight or pivot table

if(Left(location1,2)='V7','DSI',if(Left(location1,2)='V8','SML',if(location1='V956','non foot',if(location1='D12','67WS')))) as site

and

in Expression just use

sum(SaleQty)

Like...

if(accpg_ordtyp='SL','Sale',if(accpg_ordtyp='CR','Credit'))   - For Dimension

sum([Net Sales])  -For Expresion

Vinay

chiru_thota
Specialist
Specialist

Can't you create Site dimension while loading data itself?

I mean by using your If statement.

It will be good if you can do that.So that you can use Site directly and it will be fast.

Otherwise you can follow as Vinay mentioned.

Not applicable
Author

hi all, yes i can get that like vinay has told. but the problem is another extra row loading in my table chart because of sum(saleQty) not related to "site". because there are other saleQty. so i want to avoid it and get only site's Sum(saleQty)

chiru_thota
Specialist
Specialist

Enable following property for your dimension.

Supress When Value is Null.jpg