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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
chan103148
Contributor III
Contributor III

conversion rate

good day,

 

need help

I need to compute for conversion rate by dividing Traffic count from Transaction count,

 

problem is there are dates that have no foot traffic count, that causes abnormality in my data.

I want to include only Transaction count with corresponding Traffic count greater than zero on a daily basis.

current script:

(Count({$<[Date.autoCalendar.Year]= {"2020"}>} distinct [Transaction Number]))

/

(Sum({$<[Date.autoCalendar.Year]={"2020"},[Traffic In]={">0"}>}[Traffic In]))

 
 

Capture.JPG

in the graph above, the computed Conversion rate is 22% which should be 4% only

advance thankyou,

Christian

Labels (2)
0 Replies