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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Minal_09
Contributor
Contributor

nested if condition

=If([Sales Channel]='online','[Order ID]',If([Sales Channel]='offline',''))

i am not getting output for this condition please correct the statement if worng.

Labels (1)
1 Solution

Accepted Solutions
Minal_09
Contributor
Contributor
Author

Hi 

I am using it as a measure.

Thank You, the solution worked.

View solution in original post

2 Replies
ggijben
Partner - Creator II
Partner - Creator II

Hi Minal_09, 

Are you using the formula as a measure or a dimension?

What is the expected output? The OrderID number? If so, can you try:

=If([Sales Channel]='online',[Order ID],If([Sales Channel]='offline',''))

 

Minal_09
Contributor
Contributor
Author

Hi 

I am using it as a measure.

Thank You, the solution worked.