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

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Creating Set Analysis expression

Hi,

iam unable to create the set analysis expression for this

1)  Sum of all sales where office=4 and CategoryName is Babywear.

2)  Sum of all sales where office=4 and CategoryName is children's wear

please help me out for this expression.

Thanks,

Sudha Banakar

6 Replies
narender123
Specialist
Specialist

=sum({<office={'4'},CategoryName={'Babywear'}>}sales)

=sum({<office={'4'},CategoryName={'children's wear'}>}sales)

Thanks

Narender


Not applicable
Author

Hi,

For me :

=sum({<office={'4'}*{CategoryName={'Babywear'}>}Sales)

=sum({<office={'4'}*{CategoryName={'children'&chr(39)&'s wear'}>}Sales)

Regard

RedSky001
Partner - Creator III
Partner - Creator III

sum({$<office={'4'},CategoryName={'Babywear'}>} sales )

sum({$<CategoryName={"children's wear"}>} sales )

Not applicable
Author

=sum({<office={'4'},CategoryName={'Babywear'}>}sales)

=sum({<office={'4'},CategoryName={'children's wear'}>}sales)

Not applicable
Author

Hi,

Thank u soo much for your guide..

But iam not able to add dimension and expression for this to create a line chart..

x-axis  of the line chart must show year date

y-axis  of the line chart must show sales

please help me out..

Thanks

Sudha Banakar

rajeshvaswani77
Specialist III
Specialist III

Add YearMonth in X-Axis and Add the above two expressions for Y-Axis.

thanks,

Rajesh Vaswani