Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

PB DATE

Hello,

I am trying to calculate an indicator whose objective is to calculate the Number of Findings still open 6 months after date of notification. So basically Each Findings, I have a closing date (CLOSE_DATE) and a notification date and I want to calculate the number of Findings that have a closing date than 6 months of their date of notification.

That's what I tried to do but it does not work :

Count ({$<CLOSE_DATE={">=$(=date(AddMonths(date_notification,6))"}>}  DISTINCT FINDINGS_ID)

Thank you in advance.

15 Replies
Not applicable
Author

it works. Now I just need to verify that my data are correct.

I come back to you if i have another problem.

Thank you very much.

ali_hijazi
Partner - Master II
Partner - Master II

you're welcome at anytime do not hesitate to ask me

I can walk on water when it freezes
Not applicable
Author

Thank you very much.

I will try this method too, so I have two methods.

Not applicable
Author

Hello,

When I add the set analysis, it does not work.

That's my expression  :

Count({$<AUDIT_STATUS_ID<>{'3'} >} Distinct if(Close_date >=num(DayStart(AddMonths(date(date_notification),6))), FINDINGS_ID))

Thank you.

Not applicable
Author

Sorry for the inconvenience. It works.

ali_hijazi
Partner - Master II
Partner - Master II

use the following in your set analysis

AUDIT_STATUS_ID ={"*"}-{3}

I can walk on water when it freezes