Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Average based on a Dimension

Hi

I have a dataset as shown below

Catalog      Zone    Area     Code      Price

123ABC     West     Pune        A1      $23.5

123ABC     West     Pune        A2       $43

123ABC     North     Delhi     $120

I have to display Catalog and  Avg Price as per logic below. (There is a selection on Zone and Area)

If Zone - West and Area- Pune , Average of 23.54 and 43 = $33.27

If No Zone chosen, Average of 23.54, 43 and 120 = $62.18

I see that Average function doesnot take any dimensions, please advise.

1 Reply
mdmukramali
Specialist III
Specialist III

!Dear,

Use Expression

=Avg(Price)

based on selection the avg will change ..

Find the attached file.

i hope it will help you.

Thanks,

Mukram