Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
helge_jorg
Creator
Creator

Scatter plot

Dear, Qlik experts

I’m trying to create a scatter plot, but it does not look right. I think that my problem is related to data registration.

One measure is registered at all dates, in a range from 0 – 30. The second measurement is only registered at dates when it occurs. Meaning that there is a lot of dates without measurements/registrations. The measurements are from two different sources, connected through date.

Is there an expression I can use that will give the days without a registration a value of 0, so that all dates will have a registration?


These are the measurement used in the scatter plot:

Avg({$<ElementID = {'HA'}>} [Value])

Count(CustID)

The dimension used is dates

Cheers,

Helge

3 Replies
YoussefBelloum
Champion
Champion

Hi,

try this on your measures

Avg({$<ElementID = {'HA'}>} [Value])*sum(1)


Count(CustID)*sum(1)

helge_jorg
Creator
Creator
Author

Thanks for your suggestion, but it did not work with the sum before 1. The measurements ended up very stange and whey too large.


I did try to just multiply the measurements with 1 (without the sum). And it looks better.


Thanks for you help!

YoussefBelloum
Champion
Champion

Good