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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to put conditions on one field.

Good Morning everybody.

I'm trying to put a condition in one field in qlik sense, but it does not work.

The condition will be the quantity open on the currect day.

I'm placing this expresión : wo_due_date = now()

Where wo_due_date is the fiel on my table and now (0) is today.

Any clue on how to place the expression?

Maybe I'm using an incorrect expression.

Thanks in advance.

Regards.

1 Solution

Accepted Solutions
ger_alegria
Partner - Creator
Partner - Creator

Try with:

Sum( {<wo_due_date={'$(=Today())'}>} wo_qty_req - wo_qty_comp)


If wo_due_date is only a date and not a date with time try with Today()

View solution in original post

4 Replies
petter
Partner - Champion III
Partner - Champion III

You can do this:

Sum( {<wo_due_date={'$(=Now())'}>} Sales )

Not applicable
Author

Good Morning.

Maybe I'm doing something wrong.

This is my expresión : Sum( {<wo_due_date={'$(=Now())'}>} wo_qty_req - wo_qty_comp)

Where wo_due_date is today and wo_qty req is the quantity requested minus quantity completed.

I'm putting this exprssion into Calculation Condition and It does not work.

ger_alegria
Partner - Creator
Partner - Creator

Try with:

Sum( {<wo_due_date={'$(=Today())'}>} wo_qty_req - wo_qty_comp)


If wo_due_date is only a date and not a date with time try with Today()

Not applicable
Author

It Works, I will appreciate your help.

Regards.