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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
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=0 , count (y))

6 Replies
robert_mika
Master III
Master III

What is your x and what is your y?

Can you give more details?

HirisH_V7
Master
Master

Hi,

Can you provide info of your requirement,

And That can be like this,

Selected value if.PNG

  if(Product='AWC Logo Cap',Sum(Sales),Null())

Regards,

HirisH.

HirisH
mr_ramshini
Contributor III
Contributor III
Author

HI

X AND Y ARE STATEMENTS

MK_QSL
MVP
MVP

you can use

Count(If(x = 0, y))

robert_mika
Master III
Master III

Do you mean Y is a field or let say field*field

Mark_Little
Luminary
Luminary

Hi,

Yes that kind of logic can be used.

Mark