Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to excluded null values(-) in Set analysis

Hi ..

I have one field with null values means -.i have remove null values in set analysis.

please find following attachment i has agentskill targetid it contains null i have to remove null values in set analysis.

please help me..

Thanks,

12 Replies
sujeetsingh
Master III
Master III

You can try {*} to select all values that should exclude the null value and - {''} should get rid of the blank values.

=sum({$<resolveddate ={'*'}-{''}>} 1)

Anonymous
Not applicable
Author

Hi Sujeet..

Thanks for yoyr reply

I tried this systax but its not working.Can you please find my attachment in this AGENTSKILLTARGET ID Contains null values i have to remove null values..Help me..

Thanks..

PradeepReddy
Specialist II
Specialist II

you can use NULLASVALUE in script in order to assign a string/numeric default value for nulls:


Script:

NULLASVALUE Filed;

Set NullValue = 'N/A';

Expression:

Count({<Field={'N/A'}>}Field)

PrashantSangle

Hi,

Try Like

Sum({<NullITakingField={"=not isnull(NullTakingField)"}>}Sales)

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Anonymous
Not applicable
Author

Hi Max..

Thanks for your reply..

If apply same syntax it does not working fine..

Thnaks,

anbu1984
Master III
Master III

Check this

PrashantSangle

Hi,

What is your expected count??

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Anonymous
Not applicable
Author

Hi Anbu..

Thanks for your reply..

Trasing wise your formula currect.But when i create table box with acdDATE and agentskilltargetID.The agentskilltargetid has null values so it has count but your formula shows zero count..

Please help me

anbu1984
Master III
Master III

=count({<ACD_Date={'=Len(Trim(AgentSkillTargetID))=0'}>}DISTINCT ACD_Date)