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: 
evansabres
Specialist
Specialist

Set Expression

I am attempting to create a table that has a dimension of 'Event Date' and 10 expressions that are all similarly structured.

My end goal is to have a value that is the price per ticket paid, based on the total sale divided by the total quantity sold.

My initial expression is: =NUM(avg({$<PRICESCALE={"200 Club End"}>}[TOTALSALE]), '$#,###.') which is giving me the average price of the 'TOTALSALE' when the 'PRICESCALE' is 200 Club End. However, I need to introduce the following count(seatnumber) to divide by the initial expression to result in the average price paid

1 Reply
vishsaggi
Champion III
Champion III

Can you share some sample data with expected output and any qvw file please upload will work on it. ?