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

Announcements
Now accepting applications for the Qlik Luminary and Partner Ambassador Programs: Apply by July 6!
cancel
Showing results for 
Search instead for 
Did you mean: 
delbooth
Contributor II
Contributor II

less than or equal set analysis

Hi.

 

I have two fields in the same table called orders.  The two fields I want to evaluate by record are Date_collected and planned_to_date.

 

I want the set analysis to only include records that are Date_collected<=Planned_to_date

 

ie

count({<ColYear={"$(=year(Today()))"},Units={"t"},Date_collected<=Planned_to_date>}[Collection Code])

 

 

Thanks

1 Solution

Accepted Solutions
agigliotti
MVP
MVP

maybe this:
count( {< ColYear = {"$(=year(Today()))"}, Units = {"t"} >}
if( Date_collected <= Planned_to_date, [Collection Code] ) )
I hope it helps.

The Power of shining a light on the dark side of your data.
Follow me on my LinkedIn | Know Gamma Informatica at gammainformatica.it

View solution in original post

1 Reply
agigliotti
MVP
MVP

maybe this:
count( {< ColYear = {"$(=year(Today()))"}, Units = {"t"} >}
if( Date_collected <= Planned_to_date, [Collection Code] ) )
I hope it helps.

The Power of shining a light on the dark side of your data.
Follow me on my LinkedIn | Know Gamma Informatica at gammainformatica.it