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: 
Mauritz_SA
Partner - Specialist
Partner - Specialist

Distribution plot help

Hi all

I really hope that someone can help - it is driving me crazy! I have a data set with a lot of data which can be simplified to something like the table below:

ClientInspectionScore
Client_AHealth1
Client_BHealth9
Client_CHealth7
Client_ASafety1
Client_BSafety8
Client_CSafety1
Client_ASecurity5
Client_BSecurity2
Client_CSecurity7
Client_AEnvironment2
Client_BEnvironment6
Client_CEnvironment7

 

I would like to show the Min and Max for each Inspection (Health, Safety, Security and Environment - disregarding any selections) and then I also want to show the average for the clients selected as another dot on a distribution plot. I also need the bands to be shown. Something like the graph below (it is the wrong data, but it is just to give you an idea):

Desired layout with grey bands.Desired layout with grey bands.

I tried making Inspection my Y-axis, ValueList('Min','Max','Avg') my Points and my X-axis (measure) the following:

If(ValueList('Min','Max','Avg')='Min',
Min({1}Score),
If(ValueList('Min','Max','Avg')='Max',
Max({1}Score),
If(ValueList('Min','Max','Avg')='Avg',
Avg(Score)
)
)
)

It gives me the correct data, but the bands disappear like in the screenshot below:

Distribution plot I get.Distribution plot I get.

Like I said, the data is fine, but the layout not as I don't get the bands anymore (which is an explicit requirement). I have spent hours on this and really hope there is a simple answer. I cannot show all the data points as my actual data set will have way more than 100 scores for each inspection. I have attached* the sample app.

Any help would be greatly appreciated (other suggestions also welcome, but I am not allowed to use a Box Plot).

Regards,

Mauritz

PS. I have tried doing this with a stacked combo chart and tried to make the bottom bar transparent, but I cannot use ARGB colours as part of my master measure colours and the white doesn't look goodSmiley Sad.

 

11 Replies
Patrik_Lundblad
Employee
Employee

Great to hear!

I'll spend some time to try to reproduce it, but I have a feeling it's something in the data that didn't go well together. 

Regards,

Patrik.

demonioazul
Creator
Creator

@Patrik_Lundblad , thanks again! And yes, it was a kind of bad data or a memory bug or something... 

Take care,

~Demian