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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Count Value from table comparison

Two tables. Trying to get an expression to compare the two and give me the results of the ones missing a match

Qualify *;

Access: LOAD * INLINE [Group, Path

a,

b,

c,

d, ];

Unqualify *; Qualify *;

Type: LOAD * INLINE[Group, Type

a, REG

b, REG

d, SPEC];

Expression as I understand it would be something like:

count(distinct if(Type.Group<>Access.Group and Type.Type='Reg', Access.Group))

Doesn't work for me at all. I want it to look at all of fields in Type.Group and show me Access.Group that doesn't exist in Type.Group.

Labels (1)
2 Replies
marcus_sommer
MVP
MVP

Without the qualify-stuff it would be easy with:

- Marcus

Digvijay_Singh
MVP
MVP

try this  -

Access:

Load Group, Path;

LOAD * INLINE [ Group, Path

a, "c:\dir1"

b, "c:\dir2"

c, "c:\dir3"

d, "c:\dir4" ];

Type:

Load Group as TempGroup, Type;

LOAD * INLINE [Group, Type

a, REG

b, REG

d, SPEC];

Notmatch:

Load Group as Group1, Path as Path1

Resident Access

Where Not exists(TempGroup,Group);