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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

show if expression sum in text box

Hello,

I have made an expression which gives me all sessionuserid where they only have 1 buy. I can make this in a straight table and then sum of total rows. Then i get row many SessionUserIDs who only bought once.

How do i show this in an textbox?

In picture you can see expression - Maybe it can be made otherwise?

Capture.PNG.png

Thanks

1 Solution

Accepted Solutions
Nicole-Smith

In texbox:

sum(aggr(YourExpression,YourFirstDimension,YourSecondDimension, etc.)

View solution in original post

2 Replies
Nicole-Smith

In texbox:

sum(aggr(YourExpression,YourFirstDimension,YourSecondDimension, etc.)

MayilVahanan

Hi

Try like this

= Sum(Aggr(if(Count({<EventType={'Buy'}>}distinct SessionIDINT)=1, 1, 0), SessionUserID))

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.