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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Factorise a Set Analysis member

Hi Guys,

I'm building a set analysis like.

=Sum ({<Field1 ={'A'}, Field2={'B'}>+<Field1 ={'A'}, Field3={'C'}>}Value)

So far it works, I just need to write it in another way.... and I cannot find the proper syntax.

I'd like something like Field1 ={'A'} and ( Field2={'B'} or Field3={'C'})

Why?

Because I will be able to put them invariables...

(In my data field1 is a time condition, field2 and 3 fields in a business hierarchy),

Any Idea?

Merry Xmas.

Eva

Labels (1)
1 Solution

Accepted Solutions
tresB
Champion III
Champion III

Field1 ={'A'} and ( Field2={'B'} or Field3={'C'})

=>

              <Field1 ={'A'}>* (<Field2={'B'}> + <Field3={'C'}>)

View solution in original post

2 Replies
tresB
Champion III
Champion III

Field1 ={'A'} and ( Field2={'B'} or Field3={'C'})

=>

              <Field1 ={'A'}>* (<Field2={'B'}> + <Field3={'C'}>)

jyothish8807
Master II
Master II

Hi Eva,

Try this:

=sum({ <Field1 ={'A'}>* (<Field2={'B'}> + <Field3={'C'}>)}Value)

Regards

KC

Best Regards,
KC