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

Announcements
Only at Qlik Connect! Guest keynote Jesse Cole shares his secrets for daring to be different. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

pivot exclude

Hi Team,

I have Country { India, UK, US, Japan}. In pivot chart I have added country column as a Dimensions. I want to exclude 'Japan' value.

Now pivot shows:

India 50

UK    70

US    40

Japan 90

Total 250

It should show

India 50

UK    70

US    40

Total 160

Please help

2 Replies
surendraj
Specialist
Specialist

In expressions

Sum({<Country-={'Japan'}>}value)

Anil_Babu_Samineni

May be you can use in Script

Directory:

Load * Inline [

Country, sales

India, 50

UK,    70

US,    40

Japan, 90

Total, 250

];

Load Country, sales Resident Directory where Country <> 'Japan';

Or Object is this formalities

Dim as Country

And expression

Sum({<Country -= {'Japan'}>}sales)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful