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: 
SatyaPaleti
Creator III
Creator III

to Exclude Particular Record

Hi Friends,

I am having field called 'Name'

Record in the Name are Spell-Teleca,Spell-Indica,,Spell_Spanish,Spell-godrey,Spell-Inter

My requirement is

I want to show all the records in Name field Except Spell-Indica

Can i use Not match function

I am using Not Match(Name,'Spell-Indica') but it's not working can any one help to resolve this issue

THank You,

Satya

Labels (1)
15 Replies
SatyaPaleti
Creator III
Creator III
Author

Hi friends,

Thank you for your Replies,

Actually My Requirement is I am having Field(Name) with records

Teleca Inter-ship, Max Inter-ship, Min Inter-ship, Teleca Exchange, Max Exchange, Min Exchange

I want to exclude Names which have Inter-ship

Thank you,

Satya

tamilarasu
Champion
Champion

Try,

If(Not WildMatch(Name,'*Inter-ship*'),Name)

PradeepReddy
Specialist II
Specialist II

try like this..

assuming you are loading data from Database..

SQL

select *

from table1 where NAME not like '%Inter-ship%';

Peter_Cammaert
Partner - Champion III
Partner - Champion III

Again, using set analysis:

=sum({<Name -= {'*Inter-ship'}>} Sales)

panipat1990
Creator II
Creator II

Load 

                   Name,

                  

                   If(TextBetween(Name, '-','')='ship' ,Null(),Name)As New_Name

                  

                

      

From

(ooxml, embedded labels, table is Sheet1);

                                                                     Or

Load 

                   Name

                  

                   //If(TextBetween(Name, '-','')='ship' ,Null(),Name)As New_Name

                  

                

      

From

(ooxml, embedded labels, table is Sheet1)

Where TextBetween(Name, '-','')<>'ship';

panipat1990
Creator II
Creator II

Hi,

    Try This

Load 

                   Name,

                   If(SubStringCount(Name,'Inter-ship')=0,Name) As New_Name