Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

differences between the average

Hi All,

Will like to ask a question. Let say I have the data below.

I will like to find out the differences between the average salary of Male and Female. 

How should I enter into the expression for the chart?

GenderSalary
Male 400
Male 1200
Female500
Male 700
Female400
Female300
Male 400
Female300
1 Reply
Anil_Babu_Samineni

May be this in straight table or chart

Dimension as Gender

Expression Avg(Salary)

or

Avg({<Gender = {Male}>}Salary)-Avg({<Gender = {Female}>} Salary)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful