Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
vinod2086
Creator II
Creator II

Set Expression Issue

Hi,

Can any one help me to write set expression based on the following.

                -  Level = critical

                - Submission date - report run date > 7.0 days

                - Status not equal to closed

                - Intermediate Control Measure not equal to Yes

Thanks in Advance.

3 Replies
prat1507
Specialist
Specialist

Maybe this

Sum({<

Level={'Critical'},

Submission date - report run date ={'> 7.0'},

Status-={'Closed'},

[Intermediate Control Measure]-={'Yes'}

>}

Value)

Regards
Pratyush

saniyask
Creator
Creator

Hi,

Please refer to the below blog.

Dates in Set Analysis  and Set Analysis: syntaxes, examples

Regards,

Saniya.

agigliotti
Partner - Champion
Partner - Champion

I suggest you to create a new field in your script as below:

(Submission date - report run date) as Date_Diff

then

Sum( {< Level = {'Critical'}, Date_Diff = {'>7'}, Status -= {'Closed'}, [Intermediate Control Measure] -= {'Yes'} >} Value)