Qlik Sense Drawing multi line graph

2.4k views Asked by At

I'm new to Qlik Sense. I've data from MongoDB and trying to visualize data using Qlik Sense.

Data:

Name    Time                 Value
Sig0    1434443400061   0.78535046693984389
Sig0    1434365571861   0.47410865876843988
Sig0    1434367800061   0.52816115795111507
Sig1    1434443400062   0.54981022370331589
Sig1    1434365571862   0.48053196850949664
Sig1    1434367800062   0.28258334531262386

How to draw Multi Line Graph?

X Axis - time
Y Axis - Line 1 - Sig0
Y Axis - Line 1 - Sig1

Currenty, im connecting to QV Source MongDBConenctor to load data.

Any suggestions would be greatly appriciated.

2

There are 2 answers

1
The Budac On BEST ANSWER

The simple bit of splitting your data into Sig0 and Sig1 is done with an if statement in your measure expression.

sum(if(Name='Sig0',Value))

Add a measure

Same for Sig1. That will draw this graph. You'll have to do the time to normal date conversion yourself. enter image description here

3
Cookiejest On

The correct SET analysis syntax for this is sum({} Value) not the answer above.