Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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