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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

creating the (calculated)measure for visual --problem

Hi,

Have being a while did not use the qlik sense

wondering how to create a new measurement to do the visual

I want to divided the 'total sales' by 'total population' and call it 'sales per person'

I use 'Mast item' creating 'measur'' and use this function:

Sub_Volume_Skoda/Population_total

Screen Shot 2018-05-11 at 17.03.55.png

but I did not get anything

any one can help?

Thank you

4 Replies
OmarBenSalem
Partner - Champion II
Partner - Champion II

try:

since it's a measure, u'll have to use aggregation functions to calculate ur measure (sum, count, avg, min,max etc):

sum(measure1) / sum(measure2)

Anonymous
Not applicable
Author

Hi Omar,

thank you. it works but it works as sum()

could I use this for each line?

Anonymous
Not applicable
Author

if I use sum()/sum()

I am expecting have number for each row as Sub_Volume_Skoda/Population_total

but not in total

YoussefBelloum
Champion
Champion

depending on the object type you're using, you can disable/remove the total line