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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
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
Partner - Champion
Partner - Champion

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

View solution in original post

1 Reply
agigliotti
Partner - Champion
Partner - Champion

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