Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
ziabobaz
Creator III
Creator III

calculating measure based on dimension's field

Hello,

I have Status as Dimension and Clicks as Measure.

I need to calculate CR% Measure = Click / Clicks <view_site>:

Screenshot_8.jpg

When I try to build a straight table with the following formula:

CR% =

     sum( clicks) /

     sum( {<status={'view_site'}>} clicks),

It returns:

Screenshot_9.jpg

What is the correct way to make it happen?

Thank you!

1 Solution

Accepted Solutions
agigliotti
Partner - Champion
Partner - Champion

maybe this:

sum( clicks) /

sum( {< status={'view_site'} >} total clicks)

View solution in original post

3 Replies
agigliotti
Partner - Champion
Partner - Champion

maybe this:

sum( clicks) /

sum( {< status={'view_site'} >} total clicks)

ziabobaz
Creator III
Creator III
Author

of course, you are right, I forgot about 'total' )

thank you!

agigliotti
Partner - Champion
Partner - Champion

great!

you are welcome.