
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Expression Needed
Hi All,
I am having an logistic field and in that i have the data like,
a,
a others,
b,
b others,
c
c others.
Now i need to calculate only the fields are with others..
i.e. sum(if([logistic model] = 'aothers',if([logistic model]='bothers',if([logistic model]='c others'[lead count]))))
Thanks,
Bharat
- Tags:
- qlikview_scripting
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
sum({<[logistical model]={'aothers','bothers','cothers'}>} [lead count])

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May be like:
Sum(if( Wildmatch([logistic model], '*others*'), [lead count])
or,
Sum({<[logistic model]={ '*others*'}>} [lead count])


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
Try this
sum({<[logistic model] ={'*others'}>}[lead count])

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Tresesco,
I have multiple others like d others,e others , h others.. but i needed onlysum of aothers,bothers,cothers not any others.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Bharat,
Try this,
sum({<T={'*Others*'}>}Value)
// Here, I took inline table for an example
E.g
Load * Inline
[
T, Value
A, 10
A Others, 45
B, 20
B Others, 40
];
Regards,
Brijesh

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May be using single character wildcard '?', like:
Sum(if( Wildmatch([logistic model], '?others'), [lead count])
or,
Sum({<[logistic model]={ '?others'}>} [lead count])


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Bharat,
Try this:
=count(if(WildMatch(A,'*others*'), A))
Regards philipp

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
sum({<[logistical model]={'aothers','bothers','cothers'}>} [lead count])

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks a lot...

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks a lot
