Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Hide values from straight table when <1

I have a interval calculation in my expression:

=Interval(Date([SAMPLE.Verified Date],'DD-MM-YYYY')-Date([SAMPLE.Due Date],'DD-MM-YYYY'), 'D')

This gives sometimes negative results. And i want to hide everything under the vallue 1 from the table.

How to do this?

1 Solution

Accepted Solutions
jonathandienst
Partner - Champion III
Partner - Champion III

Hi

This should do it:

=Interval(If([SAMPLE.Verified Date] > [SAMPLE.Due Date], [SAMPLE.Verified Date] - [SAMPLE.Due Date]), 'D'))

Hope that helps

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein

View solution in original post

3 Replies
jonathandienst
Partner - Champion III
Partner - Champion III

Hi

This should do it:

=Interval(If([SAMPLE.Verified Date] > [SAMPLE.Due Date], [SAMPLE.Verified Date] - [SAMPLE.Due Date]), 'D'))

Hope that helps

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Not applicable
Author

Thanks a lot! This seem to work.

But i forget to mentiod i have 2 expressions and i want also to hide the values from the first expression when the results from the second expression are <1.

Not applicable
Author

Hi,

Try if((Interval(If([SAMPLE.Verified Date] > [SAMPLE.Due Date], [SAMPLE.Verified Date] - [SAMPLE.Due Date]), 'D')),Expression_1)

Rebeca