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

Comparing two fields in Set Analysis

Hello,

Can anybody tell what is the syntax error in this expression:

=count({<_IN_TIME={'>ShiftStartGraceTime'}>} DISTINCT(%Date))

Regards,

Balraj

19 Replies
PrashantSangle

Hi,

Try this

=count({<_IN_TIME={">$(=ShiftStartGraceTime)"}>} DISTINCT(%Date))

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 🙂
sujeetsingh
Master III
Master III

=count({<_IN_TIME={'ShiftStartGraceTime'}>} DISTINCT %Date ) Try this

anbu1984
Master III
Master III

What is ShiftStartGraceTime? Field or Variable?

AbhijitBansode
Specialist
Specialist

If ShiftStartGraceTime is variable then reply by max dreamer will serve the purpose else below

Count ( { < _IN_TIME = {" > ShiftStartGraceTime "} > } DISTINCT %Date )

Anonymous
Not applicable
Author

not working. Same result

Anonymous
Not applicable
Author

Not Working

Anonymous
Not applicable
Author

Both are two different fields, my dear

sagarkharpude
Creator III
Creator III

count(Distinct{<_IN_TIME={">$(=ShiftStartGraceTime)"}>} DISTINCT(%Date))

AbhijitBansode
Specialist
Specialist

please attach demo app with sample data.