Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
mr_ramshini
Contributor III
Contributor III

Help Necessary

Can be used if command of an arithmetic expression?

For example

if (x=1 , count(y))

4 Replies
jvishnuram
Partner - Creator III
Partner - Creator III

yes you can be able to use, condition based expression.

PrashantSangle

Hi,

Yes you can achieve it by if or set analysis

try like

count(if(x=1,y))

or

count({<x={'1'}>}y)

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 🙂
MK_QSL
MVP
MVP

try

Count(If(x=1,y))

ecolomer
Master II
Master II

Yes, but you need write in this order:

Count(if(x=1, y))